summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/functions.js b/functions.js
index 278f32545..335ed61ec 100644
--- a/functions.js
+++ b/functions.js
@@ -61,6 +61,8 @@ function exception_error(location, e, ext_info) {
__('Close') + "</button>";
content += "</div>";
+ if (dijit.byId("exceptionDlg"))
+ dijit.byId("exceptionDlg").destroyRecursive();
var dialog = new dijit.Dialog({
id: "exceptionDlg",