From ce8de9044d18d3ed4537783c1fa72ca6b46d7892 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 16 Jan 2009 10:51:31 +0100 Subject: [PATCH] feed browser: scope button shows loading prompt --- modules/pref-feed-browser.php | 2 +- prefs.js | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/pref-feed-browser.php b/modules/pref-feed-browser.php index 994245ed6..f50c2c7b0 100644 --- a/modules/pref-feed-browser.php +++ b/modules/pref-feed-browser.php @@ -114,7 +114,7 @@ print " + onclick=\"updateBigFeedBrowserBtn()\" value=\"".__('Show')."\"> "; if (db_num_rows($result) > 0) { diff --git a/prefs.js b/prefs.js index ca205237e..88ebc3ee3 100644 --- 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();