viewfeed: do not show notify progress when offset != 0

This commit is contained in:
Andrew Dolgov 2011-08-05 13:29:14 +04:00
parent 173d57e527
commit 3205fab020
1 changed files with 6 additions and 5 deletions

View File

@ -138,12 +138,13 @@ function viewfeed(feed, subop, is_cat, offset) {
console.log(query);
if (!is_cat) {
if (!setFeedExpandoIcon(feed, is_cat, 'images/indicator_white.gif'))
if (!offset)
if (!is_cat) {
if (!setFeedExpandoIcon(feed, is_cat, 'images/indicator_white.gif'))
notify_progress("Loading, please wait...", true);
} else {
notify_progress("Loading, please wait...", true);
} else {
notify_progress("Loading, please wait...", true);
}
}
new Ajax.Request("backend.php", {
parameters: query,