diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2013-12-20 17:24:50 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2013-12-20 17:25:01 +0100 |
commit | 67daf1074702f8ee8e0720c6f864bc4b8eb3780c (patch) | |
tree | 7b17318ad4a1ef70415589e152ebafbfa62bba86 /js/app/services/businesslayer/businesslayer.coffee | |
parent | ee9810ede5a5e3e10b214a771d0a58dcbb29bc36 (diff) |
prevent multiple autopage requests, fix #201
Diffstat (limited to 'js/app/services/businesslayer/businesslayer.coffee')
-rw-r--r-- | js/app/services/businesslayer/businesslayer.coffee | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/app/services/businesslayer/businesslayer.coffee b/js/app/services/businesslayer/businesslayer.coffee index 14d692084..f7b02baea 100644 --- a/js/app/services/businesslayer/businesslayer.coffee +++ b/js/app/services/businesslayer/businesslayer.coffee @@ -27,9 +27,11 @@ angular.module('News').factory '_BusinessLayer', -> constructor: (@_activeFeed, @_persistence, @_itemModel, @_type, @_$rootScope) -> + @_preventAutopage = false load: (id) -> + @_preventAutopage = false @_$rootScope.$broadcast 'loadingNewItems' @_itemModel.clear() @_persistence.getItems @_type, id, 0, => |