summaryrefslogtreecommitdiff
path: root/js/prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-12-28 14:43:55 +0400
committerAndrew Dolgov <[email protected]>2011-12-28 14:43:55 +0400
commit4cd3011163c9405845ccbff121c81486774b878b (patch)
treeab2d96b4f9ef16c3ce824b8ecdc8eb4ad87ebb5a /js/prefs.js
parent97f0b075bf720fb81ae713d9f1309fdc5f86ca12 (diff)
fix filter and feed dialogs breaking each other
Diffstat (limited to 'js/prefs.js')
-rw-r--r--js/prefs.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/prefs.js b/js/prefs.js
index ee3657e28..ce233b749 100644
--- a/js/prefs.js
+++ b/js/prefs.js
@@ -126,6 +126,9 @@ function editFilter(id) {
var query = "backend.php?op=pref-filters&method=edit&id=" + param_escape(id);
+ if (dijit.byId("feedEditDlg"))
+ dijit.byId("feedEditDlg").destroyRecursive();
+
if (dijit.byId("filterEditDlg"))
dijit.byId("filterEditDlg").destroyRecursive();