diff options
author | Andrew Dolgov <[email protected]> | 2010-02-03 16:54:17 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-02-03 16:54:17 +0300 |
commit | 3393238de25981525ca816391b8e94274d94a3f8 (patch) | |
tree | 481a2bf2e2441299f35884f621995c2242d5ef57 /tt-rss.js | |
parent | f2a648e1b28dcc92fb52886b22a68fcb7b1f80b8 (diff) |
more input focusing improvements in popup dialogs
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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; } |