Removed unused HTML attribute
authorThierry Florac <thierry.florac@onf.fr>
Tue, 26 Jun 2018 16:55:02 +0200
changeset 48 4c6f660f5c49
parent 47 ee8602c0df78
child 49 58b69fca7069
Removed unused HTML attribute
src/pyams_gis/widget/templates/geoarea-input.pt
src/pyams_gis/widget/templates/geopoint-input.pt
--- 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>
--- a/src/pyams_gis/widget/templates/geopoint-input.pt	Tue Jun 26 16:54:41 2018 +0200
+++ b/src/pyams_gis/widget/templates/geopoint-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 location 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.position.clear">
 				<i class="fa fa-fw fa-lg fa-trash hint opaque align-base"
 				   data-ams-hint-gravity="se" data-ams-hint-offset="10"