summaryrefslogtreecommitdiff
path: root/js/prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-11-08 18:31:14 +0400
committerAndrew Dolgov <[email protected]>2012-11-08 18:31:14 +0400
commitc714cee73bb3f4f6a449c0f45e195026aca4f1a6 (patch)
tree31c0db45322ed83a7dbd66a76a32985ef4cc7427 /js/prefs.js
parentbb4cd19be8d1998d2b2127e183278e717cc93979 (diff)
fix batchSubDlg and feedAddDlg not working properly if invoked one after another because of overlapping widgets
Diffstat (limited to 'js/prefs.js')
-rw-r--r--js/prefs.js5
1 files changed, 3 insertions, 2 deletions
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",