1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-15 23:05:55 +00:00

more input focusing improvements in popup dialogs

This commit is contained in:
Andrew Dolgov
2010-02-03 16:54:17 +03:00
parent f2a648e1b2
commit 3393238de2
5 changed files with 18 additions and 15 deletions

View File

@@ -534,8 +534,7 @@ function quickMenuGo(opid) {
}
if (opid == "qmcAddFeed") {
displayDlg('quickAddFeed', '',
function () {$('feed_url').focus();});
quickAddFeed();
return;
}
@@ -791,6 +790,7 @@ function editFeedDlg(feed) {
parameters: query,
onComplete: function(transport) {
infobox_callback2(transport);
document.forms["edit_feed_form"].title.focus();
} });
} catch (e) {
@@ -1236,9 +1236,7 @@ function hotkey_handler(e) {
}
if (keycode == 83) { // s
displayDlg('quickAddFeed', '',
function () {$('feed_url').focus();});
quickAddFeed();
return false;
}