From 3393238de25981525ca816391b8e94274d94a3f8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 3 Feb 2010 16:54:17 +0300 Subject: more input focusing improvements in popup dialogs --- tt-rss.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'tt-rss.js') 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; } -- cgit v1.2.3-54-g00ecf