Fix modals not hiding fully anymore

This commit is contained in:
Gina Häußge committed 2018-06-09 13:07:34 +02:00
1 parent 6e44149284
commit 85ef3f1df2
1 file changed
-3
-3
View File
@@ -674,7 +674,6 @@ function showMessageDialog(msg, options) {
if (onclose && _.isFunction(onclose)) {
onclose();
}
modal.remove();
});
if (onshow) {
@@ -749,7 +748,6 @@ function showConfirmationDialog(msg, onacknowledge, options) {
onproceed(e);
}
modal.modal("hide");
modal.remove();
});
return modal;
@@ -834,7 +832,6 @@ function showSelectionDialog(options) {
if (onclose && _.isFunction(onclose)) {
onclose(event);
}
modal.remove();
});
modal.modal("show");