diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/functions.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/js/functions.js b/js/functions.js index 65d214ae5..3aa730359 100644 --- a/js/functions.js +++ b/js/functions.js @@ -940,7 +940,14 @@ function quickAddFeed() { function quickAddFilter() { try { - var query = "backend.php?op=dlg&method=quickAddFilter"; + var query = ""; + if (!inPreferences()) { + query = "backend.php?op=dlg&method=quickAddFilter&feed=" + + param_escape(getActiveFeedId()) + "&is_cat=" + + param_escape(activeFeedIsCat()); + } else { + query = "backend.php?op=dlg&method=quickAddFilter"; + } if (dijit.byId("feedEditDlg")) dijit.byId("feedEditDlg").destroyRecursive(); |