From 4c310835ed14e5ae4f428fdadd57d27f17620319 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Fri, 20 Dec 2013 23:16:12 +0100 Subject: debug --- js/app/services/persistence.coffee | 3 +++ js/public/app.js | 3 +++ 2 files changed, 6 insertions(+) (limited to 'js') diff --git a/js/app/services/persistence.coffee b/js/app/services/persistence.coffee index 964826267..a1697ee0f 100644 --- a/js/app/services/persistence.coffee +++ b/js/app/services/persistence.coffee @@ -103,7 +103,10 @@ $rootScope, $q) -> onFailure: failureCallbackWrapper if not @_preventUselessAutoPageRequest + console.log 'request' @_request.get 'news_items', params + else + console.log 'no request' getNewItems: (type, id, lastModified, onSuccess) -> diff --git a/js/public/app.js b/js/public/app.js index 7c9bbca63..152a7af64 100644 --- a/js/public/app.js +++ b/js/public/app.js @@ -2806,7 +2806,10 @@ License along with this library. If not, see . onFailure: failureCallbackWrapper }; if (!this._preventUselessAutoPageRequest) { + console.log('request'); return this._request.get('news_items', params); + } else { + return console.log('no request'); } }; -- cgit v1.2.3