Commit ee8d0a2e by Jose Antonio

Issue #920, disable infinite scroll in ownpictos

parent 0c68ed09
...@@ -295,8 +295,8 @@ dashboardControllers.controller('AddPictoCtrl', function ( ...@@ -295,8 +295,8 @@ dashboardControllers.controller('AddPictoCtrl', function (
//Triggered when scrolling to bottom //Triggered when scrolling to bottom
$scope.scroll = function(){ $scope.scroll = function(){
if ($scope.onlyOwn) if ($scope.onlyOwn || $scope.source == 'ownpictos')
return; return; //When ownpictos is active, load whole own pictos at once
$scope.loadingCatPictos = true; $scope.loadingCatPictos = true;
$scope.page += 1; $scope.page += 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment