1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 05:35:55 +00:00

remove old-style addfilter dialog invocations

This commit is contained in:
Andrew Dolgov
2010-11-20 15:58:28 +03:00
parent 0a83659371
commit db4e4539dc

View File

@@ -418,16 +418,18 @@ function quickMenuGo(opid) {
} }
if (opid == "qmcAddFilter") { if (opid == "qmcAddFilter") {
displayDlg('quickAddFilter', '', quickAddFilter();
function () {document.forms['filter_add_form'].reg_exp.focus();}); return;
} }
if (opid == "qmcAddLabel") { if (opid == "qmcAddLabel") {
addLabel(); addLabel();
return;
} }
if (opid == "qmcRescoreFeed") { if (opid == "qmcRescoreFeed") {
rescoreCurrentFeed(); rescoreCurrentFeed();
return;
} }
if (opid == "qmcHKhelp") { if (opid == "qmcHKhelp") {
@@ -893,8 +895,7 @@ function hotkey_handler(e) {
hotkey_prefix = false; hotkey_prefix = false;
if (keycode == 70) { // f if (keycode == 70) { // f
displayDlg('quickAddFilter', '', quickAddFilter();
function () {document.forms['filter_add_form'].reg_exp.focus();});
return false; return false;
} }