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
1 changed files with 5 additions and 4 deletions

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;
}