summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-02-03 16:54:17 +0300
committerAndrew Dolgov <[email protected]>2010-02-03 16:54:17 +0300
commit3393238de25981525ca816391b8e94274d94a3f8 (patch)
tree481a2bf2e2441299f35884f621995c2242d5ef57 /tt-rss.js
parentf2a648e1b28dcc92fb52886b22a68fcb7b1f80b8 (diff)
more input focusing improvements in popup dialogs
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 5d62fb25b..233de669a 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -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;
}