Index: lams_tool_gmap/web/WEB-INF/tags/AuthoringButton.tag =================================================================== diff -u -r889235949834f3e9887318d10d0b21860f6b7b3c -r58fa6104ffbda5048640425d373ebecb6b479029 --- lams_tool_gmap/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 889235949834f3e9887318d10d0b21860f6b7b3c) +++ lams_tool_gmap/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 58fa6104ffbda5048640425d373ebecb6b479029) @@ -83,7 +83,11 @@ } } function doSubmit_Form_Only() { - document.getElementById("${formID}").submit(); + var save = serialiseMarkers(); + if (save) { + saveMapState(); + document.getElementById("${formID}").submit(); + } } function doCancel() { if(confirm("")){