Skip to content

Commit

Permalink
Merge pull request #229 from AtlasOfLivingAustralia/feature/issue228
Browse files Browse the repository at this point in the history
Fixed #228
  • Loading branch information
salomon-j authored Feb 1, 2024
2 parents 623d5e6 + 65a5678 commit a9af225
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 24 deletions.
2 changes: 2 additions & 0 deletions grails-app/assets/javascripts/feature.js
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,8 @@ ecodata.forms.maps.showMapInModal = function(options) {

})
.one('hidden.bs.modal', function (e) {
$ok.unbind('click', okPressed); // This is done because otherwise when cancel is pressed the listener isn't removed.

// This check is necessary because the accordion also fires these events which bubble to the modal.
if (e.target == this) {
self.featureMapInstance.clearDrawnItems();
Expand Down
46 changes: 23 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@turf/convex": "^6.0.2",
"@turf/length": "^6.0.2",
"@turf/simplify": "^5.1.5",
"chromedriver": "119.0.1",
"chromedriver": "121.0.0",
"geojson2svg": "^1.2.3",
"handlebars": "^4.7.7",
"jasmine-ajax": "^4.0.0",
Expand Down

0 comments on commit a9af225

Please sign in to comment.