]> git.wh0rd.org - tt-rss.git/blobdiff - tt-rss.js
more input focusing improvements in popup dialogs
[tt-rss.git] / tt-rss.js
index 5d62fb25be081416461411d42eda56e48d16f6c3..233de669a7a4dc3fe44bd56551735b8afa75fa1f 100644 (file)
--- 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;
                        }