fix filter and feed dialogs breaking each other
This commit is contained in:
parent
97f0b075bf
commit
4cd3011163
2 changed files with 9 additions and 0 deletions
|
@ -969,6 +969,9 @@ function quickAddFilter() {
|
|||
try {
|
||||
var query = "backend.php?op=dlg&method=quickAddFilter";
|
||||
|
||||
if (dijit.byId("feedEditDlg"))
|
||||
dijit.byId("feedEditDlg").destroyRecursive();
|
||||
|
||||
if (dijit.byId("filterEditDlg"))
|
||||
dijit.byId("filterEditDlg").destroyRecursive();
|
||||
|
||||
|
@ -1392,6 +1395,9 @@ function editFeed(feed, event) {
|
|||
|
||||
console.log(query);
|
||||
|
||||
if (dijit.byId("filterEditDlg"))
|
||||
dijit.byId("filterEditDlg").destroyRecursive();
|
||||
|
||||
if (dijit.byId("feedEditDlg"))
|
||||
dijit.byId("feedEditDlg").destroyRecursive();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue