Skip to content

Commit

Permalink
Merge pull request #241 from camptocamp/GEO-5857-do-not-htmlencode-ma…
Browse files Browse the repository at this point in the history
…p_options

Do not htmlentities on map_option in json
  • Loading branch information
arnaud-morvan authored Oct 5, 2022
2 parents d616e58 + a6d5f61 commit 6f6f86e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c2cgeoform/templates/widgets/map.pt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// Defer widget creation
deform.addCallback('${oid}', function (oid) {
c2cgeoform.initMapWidget(oid, Object.assign(
${json.dumps(map_options)},
${structure: json.dumps(map_options)},
{
geojson: '${cstruct}',
drawPointTooltip: '${_('Draw point')}',
Expand Down

0 comments on commit 6f6f86e

Please sign in to comment.