]> git.wh0rd.org - tt-rss.git/commitdiff
allow sequential exception dialogs to be shown
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 21 Apr 2011 11:27:09 +0000 (15:27 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 21 Apr 2011 11:27:09 +0000 (15:27 +0400)
functions.js

index 278f32545fe51ea657050a0f8e47e1c541e21cf9..335ed61ec897a9357f51fb379f54c408b9b4d643 100644 (file)
@@ -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",