ckan / ckanext-spatial

Geospatial extension for CKAN
http://docs.ckan.org/projects/ckanext-spatial
126 stars 193 forks source link

change button of spatial query map #211

Open ghost opened 5 years ago

ghost commented 5 years ago

Hello, I try to change the html for the map buttons of the spatial query map.

in spatial_query.js there is an option for the html code of the map buttons used: template: { buttons: [ '<div id="dataset-map-edit-buttons">', '<a href="javascript:;" class="btn cancel">Cancel</a> ', '<a href="javascript:;" class="btn apply disabled">Apply</a>', '</div>' ].join('') },

Is there a way of changing this html via passing an option?

thanks in advance