mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 13:35:59 +00:00
quickAddFilter/Feed focus improvements
This commit is contained in:
10
tt-rss.js
10
tt-rss.js
@@ -619,7 +619,8 @@ function quickMenuGo(opid) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (opid == "qmcAddFilter") {
|
if (opid == "qmcAddFilter") {
|
||||||
displayDlg("quickAddFilter", getActiveFeedId());
|
displayDlg('quickAddFilter', '',
|
||||||
|
function () {document.forms['filter_add_form'].reg_exp.focus();});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (opid == "qmcAddLabel") {
|
if (opid == "qmcAddLabel") {
|
||||||
@@ -1286,7 +1287,9 @@ function hotkey_handler(e) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (keycode == 83) { // s
|
if (keycode == 83) { // s
|
||||||
displayDlg("quickAddFeed");
|
displayDlg('quickAddFeed', '',
|
||||||
|
function () {$('feed_url').focus();});
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1322,7 +1325,8 @@ function hotkey_handler(e) {
|
|||||||
hotkey_prefix = false;
|
hotkey_prefix = false;
|
||||||
|
|
||||||
if (keycode == 70) { // f
|
if (keycode == 70) { // f
|
||||||
displayDlg("quickAddFilter", getActiveFeedId());
|
displayDlg('quickAddFilter', '',
|
||||||
|
function () {document.forms['filter_add_form'].reg_exp.focus();});
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user