diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-19 19:39:59 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-11-19 19:39:59 +0100 |
commit | c8b8ee69d143c2c0a74182e90e01da5d64a42cc6 (patch) | |
tree | 2e2f80c5caee1babdb8eb708066817ae31d57ccf /js/build/app.js | |
parent | d630b2cf818c8f381833e563909d1b6d052bbda9 (diff) |
fix #134
Diffstat (limited to 'js/build/app.js')
-rw-r--r-- | js/build/app.js | 3 |
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) { |