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") { 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;
} }