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