Partly fix work packages table updates when the query is changed

pull/1282/head
Till Breuer 11 years ago
parent c37c3add06
commit 4244dfe42d
  1. 2
      app/assets/javascripts/angular/controllers/work-packages-controller.js

@ -130,7 +130,7 @@ angular.module('openproject.workPackages.controllers')
$scope.query_id = queryId; $scope.query_id = queryId;
$scope.withLoading(WorkPackageService.getWorkPackagesByQueryId, [$scope.projectIdentifier, $scope.query_id]) $scope.withLoading(WorkPackageService.getWorkPackagesByQueryId, [$scope.projectIdentifier, $scope.query_id])
.then($scope.setupWorkPackagesTable) .then(setupWorkPackagesTable)
.then(initAvailableQueries) .then(initAvailableQueries)
.then(initAvailableColumns); .then(initAvailableColumns);
}; };

Loading…
Cancel
Save