Browse Source
Merge pull request #3132 from andryyy/patch-15
[WebUI] Remove prev form when clicking outside the modal
pull/3134/head
Vsevolod Stakhov
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
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) { |
|
|
|