From 3205fab020cdd6bec0add3aa4b879edc536b720a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 5 Aug 2011 13:29:14 +0400 Subject: [PATCH] viewfeed: do not show notify progress when offset != 0 --- feedlist.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/feedlist.js b/feedlist.js index fe4ab897e..fb8a5de28 100644 --- a/feedlist.js +++ b/feedlist.js @@ -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,