Show spinner when loading additional columns

pull/1478/head
Till Breuer 11 years ago
parent 916637c208
commit 76eb05564b
  1. 4
      app/assets/javascripts/angular/controllers/dialogs/columns.js

@ -95,7 +95,9 @@ angular.module('openproject.workPackages.controllers')
if(groupBy.length === 0) groupBy = undefined; // don't pass an empty string as groupBy
if(addedColumns.length) WorkPackageService.augmentWorkPackagesWithColumnsData(currentWorkPackages, addedColumns, groupBy);
if(addedColumns.length) {
$scope.refreshWorkPackages = WorkPackageService.augmentWorkPackagesWithColumnsData(currentWorkPackages, addedColumns, groupBy);
}
columnsModal.deactivate();
};

Loading…
Cancel
Save