aboutsummaryrefslogtreecommitdiffstats
path: root/interface
diff options
context:
space:
mode:
Diffstat (limited to 'interface')
-rw-r--r--interface/js/app/config.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface/js/app/config.js b/interface/js/app/config.js
index 701640f91..2e0b955cb 100644
--- a/interface/js/app/config.js
+++ b/interface/js/app/config.js
@@ -203,8 +203,8 @@ define(["jquery"],
return false;
});
// close modal without saving
- $("[data-dismiss=\"modal\"]").on("click", function () {
- $("#modalBody form").hide();
+ $("#modalDialog").on('hidden.bs.modal', function () {
+ $("#modalBody form").remove();
});
// @save forms from modal
function saveMap(server) {