We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 623d5e6 commit b2cb40dCopy full SHA for b2cb40d
grails-app/assets/javascripts/feature.js
@@ -614,6 +614,8 @@ ecodata.forms.maps.showMapInModal = function(options) {
614
615
})
616
.one('hidden.bs.modal', function (e) {
617
+ $ok.unbind('click', okPressed); // This is done because otherwise when cancel is pressed the listener isn't removed.
618
+
619
// This check is necessary because the accordion also fires these events which bubble to the modal.
620
if (e.target == this) {
621
self.featureMapInstance.clearDrawnItems();
0 commit comments