diff options
Diffstat (limited to 'js/controller/ContentController.js')
-rw-r--r-- | js/controller/ContentController.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/controller/ContentController.js b/js/controller/ContentController.js index 0b22bfc2c..e9fb0b6fd 100644 --- a/js/controller/ContentController.js +++ b/js/controller/ContentController.js @@ -20,6 +20,7 @@ function (Publisher, FeedResource, ItemResource, SettingsResource, data, this.isAutoPagingEnabled = true; + this.isNothingMoreToAutoPage = false; this.getItems = function () { return ItemResource.getAll(); @@ -126,6 +127,8 @@ function (Publisher, FeedResource, ItemResource, SettingsResource, data, if (data.items.length > 0) { self.isAutoPagingEnabled = true; + } else { + self.isNothingMoreToAutoPage = true; } if (self.isAutoPagingEnabled && self.autoPageAgain) { |