feed browser: scope button shows loading prompt

This commit is contained in:
Andrew Dolgov 2009-01-16 10:51:31 +01:00
parent 5e96ca9df2
commit ce8de9044d
2 changed files with 7 additions and 2 deletions

View File

@ -114,7 +114,7 @@
print "</select>
<input type=\"submit\" class=\"button\"
onclick=\"updateBigFeedBrowser()\" value=\"".__('Show')."\">
onclick=\"updateBigFeedBrowserBtn()\" value=\"".__('Show')."\">
</div>";
if (db_num_rows($result) > 0) {

View File

@ -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();