mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 01:05:56 +00:00
remove old-style addfilter dialog invocations
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user