1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:55: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") {
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;
}