]> git.wh0rd.org Git - tt-rss.git/commitdiff
feed browser: scope button shows loading prompt
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 16 Jan 2009 09:51:31 +0000 (10:51 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 16 Jan 2009 09:51:31 +0000 (10:51 +0100)
modules/pref-feed-browser.php
prefs.js

index 994245ed6362fef9fb263869452a47ea09f13424..f50c2c7b09e65c3a9f68d8e714dded4d9f332563 100644 (file)
                        
                print "</select>
                        <input type=\"submit\" class=\"button\"
-                               onclick=\"updateBigFeedBrowser()\" value=\"".__('Show')."\">
+                               onclick=\"updateBigFeedBrowserBtn()\" value=\"".__('Show')."\">
                </div>";
 
                if (db_num_rows($result) > 0) {
index ca205237e7a9280a6c8e119bf1ece76cb132f27e..88ebc3ee3bed6c21dcc0e673519f3dffc1d4df1b 100644 (file)
--- a/prefs.js
+++ b/prefs.js
@@ -1587,7 +1587,12 @@ function feedBrowserSubscribe() {
        }
 }
 
-function updateBigFeedBrowser(limit) {
+function updateBigFeedBrowserBtn() {
+       notify_progress("Loading, please wait...");
+       return updateBigFeedBrowser();
+}
+
+function updateBigFeedBrowser(limit, from_button) {
 
        if (!xmlhttp_ready(xmlhttp)) {
                printLockingError();