summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-20 15:58:28 +0300
committerAndrew Dolgov <[email protected]>2010-11-20 15:58:28 +0300
commitdb4e4539dc3989fe88f2dbff4f41222071a954ac (patch)
treec0cc5227cec9053d9f2460497b3be02380196753 /tt-rss.js
parent0a8365937187a202c87e98a0d91904094f22a2be (diff)
remove old-style addfilter dialog invocations
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 4ab357363..b36ec4e62 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -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;
}