Skip to content

Commit a9af225

Browse files
authored
Merge pull request #229 from AtlasOfLivingAustralia/feature/issue228
Fixed #228
2 parents 623d5e6 + 65a5678 commit a9af225

File tree

3 files changed

+26
-24
lines changed

3 files changed

+26
-24
lines changed

grails-app/assets/javascripts/feature.js

+2
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,8 @@ ecodata.forms.maps.showMapInModal = function(options) {
614614

615615
})
616616
.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+
617619
// This check is necessary because the accordion also fires these events which bubble to the modal.
618620
if (e.target == this) {
619621
self.featureMapInstance.clearDrawnItems();

package-lock.json

+23-23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"@turf/convex": "^6.0.2",
2222
"@turf/length": "^6.0.2",
2323
"@turf/simplify": "^5.1.5",
24-
"chromedriver": "119.0.1",
24+
"chromedriver": "121.0.0",
2525
"geojson2svg": "^1.2.3",
2626
"handlebars": "^4.7.7",
2727
"jasmine-ajax": "^4.0.0",

0 commit comments

Comments
 (0)