diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/functions.js | 5 | ||||
-rw-r--r-- | js/prefs.js | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/js/functions.js b/js/functions.js index e9dcf3f3a..e80c860e0 100644 --- a/js/functions.js +++ b/js/functions.js @@ -838,8 +838,9 @@ function quickAddFeed() { try { var query = "backend.php?op=dlg&method=quickAddFeed"; - if (dijit.byId("feedAddDlg")) - dijit.byId("feedAddDlg").destroyRecursive(); + // overlapping widgets + if (dijit.byId("batchSubDlg")) dijit.byId("batchSubDlg").destroyRecursive(); + if (dijit.byId("feedAddDlg")) dijit.byId("feedAddDlg").destroyRecursive(); var dialog = new dijit.Dialog({ id: "feedAddDlg", diff --git a/js/prefs.js b/js/prefs.js index ded6c3459..1d21e0cd5 100644 --- a/js/prefs.js +++ b/js/prefs.js @@ -2177,8 +2177,9 @@ function batchSubscribe() { try { var query = "backend.php?op=dlg&method=batchSubscribe"; - if (dijit.byId("batchSubDlg")) - dijit.byId("batchSubDlg").destroyRecursive(); + // overlapping widgets + if (dijit.byId("batchSubDlg")) dijit.byId("batchSubDlg").destroyRecursive(); + if (dijit.byId("feedAddDlg")) dijit.byId("feedAddDlg").destroyRecursive(); var dialog = new dijit.Dialog({ id: "batchSubDlg", |