From: Andrew Dolgov Date: Wed, 3 Feb 2010 13:54:17 +0000 (+0300) Subject: more input focusing improvements in popup dialogs X-Git-Tag: 1.4.1~18 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3393238de25981525ca816391b8e94274d94a3f8;p=tt-rss.git more input focusing improvements in popup dialogs --- diff --git a/functions.js b/functions.js index 6ca221ac..3baaffa3 100644 --- a/functions.js +++ b/functions.js @@ -2147,3 +2147,12 @@ function addLabel() { } } +function quickAddFeed() { + displayDlg('quickAddFeed', '', + function () {$('feed_url').focus();}); +} + +function quickAddFilter() { + displayDlg('quickAddFilter', '', + function () {document.forms['filter_add_form'].reg_exp.focus();}); +} diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 59159733..0ffecf11 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -1177,10 +1177,10 @@ __('Search')." "; - print " "; - print " "; if (get_pref($link, 'ENABLE_FEED_CATS')) { diff --git a/modules/pref-filters.php b/modules/pref-filters.php index 5c71fcb0..f3ca8e4c 100644 --- a/modules/pref-filters.php +++ b/modules/pref-filters.php @@ -311,7 +311,7 @@ "; - print " "; print "