Task 5437 - Showing 'loading' on initial table load.

pull/1065/head
Richard 11 years ago
parent bc3b4c4c7e
commit 90bd504f1c
  1. 5
      app/assets/javascripts/angular/controllers/work-packages-controller.js

@ -17,7 +17,10 @@ angular.module('openproject.workPackages.controllers')
$scope.loading = false;
$scope.disableFilters = false;
WorkPackageService.getWorkPackagesByQueryId($scope.projectIdentifier, $scope.query_id)
// $scope.withLoading(WorkPackageService.getWorkPackagesByQueryId, [$scope.projectIdentifier, $scope.query_id])
// .then($scope.withLoading($scope.setupWorkPackagesTable))
// .then($scope.withLoading(initAvailableColumns))
$scope.withLoading(WorkPackageService.getWorkPackagesByQueryId, [$scope.projectIdentifier, $scope.query_id])
.then($scope.setupWorkPackagesTable)
.then(initAvailableColumns);
};

Loading…
Cancel
Save