From db4e4539dc3989fe88f2dbff4f41222071a954ac Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 20 Nov 2010 15:58:28 +0300 Subject: [PATCH] remove old-style addfilter dialog invocations --- tt-rss.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tt-rss.js b/tt-rss.js index 4ab35736..b36ec4e6 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; } -- 2.39.5