summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2013-12-20 23:21:50 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2013-12-20 23:21:50 +0100
commitabb988dd23139ee1292e25386c4000d43ef8b4d6 (patch)
tree273fb915cd592799c571d5b5ffc0ca45402bf25e /js
parentb55935fb4eaa480544d06cfbd7297d48806dad21 (diff)
debug
Diffstat (limited to 'js')
-rw-r--r--js/app/services/persistence.coffee2
-rw-r--r--js/public/app.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/app/services/persistence.coffee b/js/app/services/persistence.coffee
index 3bc536c87..999ff3f95 100644
--- a/js/app/services/persistence.coffee
+++ b/js/app/services/persistence.coffee
@@ -106,7 +106,7 @@ $rootScope, $q) ->
console.log 'request'
@_request.get 'news_items', params
else
- console.log 'no request'
+ callback()
getNewItems: (type, id, lastModified, onSuccess) ->
diff --git a/js/public/app.js b/js/public/app.js
index aa463ef45..551ea518a 100644
--- a/js/public/app.js
+++ b/js/public/app.js
@@ -2809,7 +2809,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
console.log('request');
return this._request.get('news_items', params);
} else {
- return console.log('no request');
+ return callback();
}
};