From 85ef3f1df2fd55ab9c80822764998d8016c52532 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Sat, 9 Jun 2018 13:07:34 +0200 Subject: [PATCH] Fix modals not hiding fully anymore --- src/octoprint/static/js/app/helpers.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/octoprint/static/js/app/helpers.js b/src/octoprint/static/js/app/helpers.js index 49af106bc..1eb161d05 100644 --- a/src/octoprint/static/js/app/helpers.js +++ b/src/octoprint/static/js/app/helpers.js @@ -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");