summaryrefslogtreecommitdiffstats
path: root/js/public/app.js
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2013-12-20 23:10:30 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2013-12-20 23:10:30 +0100
commitc0ffe8b967ea81d25784188bb9697a9b1fde4755 (patch)
treef60eff54a2839631396bd05f608d0f75b0c4e0d7 /js/public/app.js
parente8cdd191953e5026957de0af99438288dfc428c6 (diff)
debug
Diffstat (limited to 'js/public/app.js')
-rw-r--r--js/public/app.js9
1 files changed, 2 insertions, 7 deletions
diff --git a/js/public/app.js b/js/public/app.js
index ec311fc7f..7c9bbca63 100644
--- a/js/public/app.js
+++ b/js/public/app.js
@@ -2782,13 +2782,8 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
loading.increase();
successCallbackWrapper = function() {};
lastChange = this._lastFeedChange;
- (function(lastChange, offset) {
+ (function(lastChange, offset, loading) {
return successCallbackWrapper = function(data) {
- console.log(data);
- console.log(data.data.items);
- console.log(offset);
- console.log(lastChange);
- console.log(_this._lastFeedChange);
if (data.data.items.length === 0 && lastChange === _this._lastFeedChange && offset !== 0) {
_this._preventUselessAutoPageRequest = true;
console.log('lock');
@@ -2796,7 +2791,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
onSuccess(data);
return loading.decrease();
};
- })(lastChange, offset);
+ })(lastChange, offset, loading);
failureCallbackWrapper = function(data) {
return loading.decrease();
};