From: Andrew Dolgov Date: Sat, 20 Nov 2010 12:58:28 +0000 (+0300) Subject: remove old-style addfilter dialog invocations X-Git-Tag: 1.5.0~110 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=db4e4539dc3989fe88f2dbff4f41222071a954ac;p=tt-rss.git remove old-style addfilter dialog invocations --- 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; }