src/pyams_gis/widget/templates/geoarea-input.pt
changeset 48 4c6f660f5c49
parent 27 70e485fd1d84
child 52 f259ec9770d8
--- a/src/pyams_gis/widget/templates/geoarea-input.pt	Tue Jun 26 16:54:41 2018 +0200
+++ b/src/pyams_gis/widget/templates/geoarea-input.pt	Tue Jun 26 16:55:02 2018 +0200
@@ -11,7 +11,7 @@
 				   data-ams-hint-gravity="se" data-ams-hint-offset="10"
 				   title="Select area from map" i18n:attributes="title"></i>
 			</button>
-			<button class="btn" tal:attributes="href string:#modal_dialog_${name}"
+			<button class="btn"
 				data-ams-click-handler="PyAMS_GIS.area.clear">
 				<i class="fa fa-fw fa-lg fa-trash hint opaque align-base"
 				   data-ams-hint-gravity="se" data-ams-hint-offset="10"
@@ -36,7 +36,7 @@
 									 tal:define="header provider:pyams_gis.map.header"
 									 tal:condition="header"
 									 tal:content="structure header"></div>
-								<div class="map" id="map_area" style="width: 100%; height: 600px;"
+								<div class="map map-area" id="map_area" style="width: 100%; height: 600px;"
 									 data-map-leaflet-fieldname="fieldname"
 									 tal:attributes="id string:map_area_${name};
 													 data-map-leaflet-fieldname view/name;"></div>