diff options
author | Andrew Dolgov <[email protected]> | 2010-11-20 15:58:28 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-20 15:58:28 +0300 |
commit | db4e4539dc3989fe88f2dbff4f41222071a954ac (patch) | |
tree | c0cc5227cec9053d9f2460497b3be02380196753 | |
parent | 0a8365937187a202c87e98a0d91904094f22a2be (diff) |
remove old-style addfilter dialog invocations
-rw-r--r-- | tt-rss.js | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -418,16 +418,18 @@ function quickMenuGo(opid) { } if (opid == "qmcAddFilter") { - displayDlg('quickAddFilter', '', - function () {document.forms['filter_add_form'].reg_exp.focus();}); + quickAddFilter(); + return; } if (opid == "qmcAddLabel") { addLabel(); + return; } if (opid == "qmcRescoreFeed") { rescoreCurrentFeed(); + return; } if (opid == "qmcHKhelp") { @@ -893,8 +895,7 @@ function hotkey_handler(e) { hotkey_prefix = false; if (keycode == 70) { // f - displayDlg('quickAddFilter', '', - function () {document.forms['filter_add_form'].reg_exp.focus();}); + quickAddFilter(); return false; } |