From 76eb05564b7b97bfbdbaed50242dbd959870cab1 Mon Sep 17 00:00:00 2001 From: Till Breuer Date: Tue, 17 Jun 2014 11:20:54 +0200 Subject: [PATCH] Show spinner when loading additional columns --- app/assets/javascripts/angular/controllers/dialogs/columns.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/angular/controllers/dialogs/columns.js b/app/assets/javascripts/angular/controllers/dialogs/columns.js index 277e5c0f4a..755f16ac57 100644 --- a/app/assets/javascripts/angular/controllers/dialogs/columns.js +++ b/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(); };