summaryrefslogtreecommitdiffstats
path: root/js/build/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/build/app.js')
-rw-r--r--js/build/app.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/js/build/app.js b/js/build/app.js
index 79fd09fe7..e33d4ef63 100644
--- a/js/build/app.js
+++ b/js/build/app.js
@@ -285,6 +285,7 @@ app.controller('ContentController',
this.isAutoPagingEnabled = true;
+ this.isNothingMoreToAutoPage = false;
this.getItems = function () {
return ItemResource.getAll();
@@ -391,6 +392,8 @@ app.controller('ContentController',
if (data.items.length > 0) {
self.isAutoPagingEnabled = true;
+ } else {
+ self.isNothingMoreToAutoPage = true;
}
if (self.isAutoPagingEnabled && self.autoPageAgain) {