From 24593a0878e66da332307e7f6e2c01b79c8510a3 Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Thu, 12 Jun 2014 16:57:14 -0400 Subject: [PATCH] AC-1256 project last updated After a project update finishes, refresh the list of projects so that it reflects the correct last update timestamps. --- awx/ui/static/js/controllers/Projects.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/awx/ui/static/js/controllers/Projects.js b/awx/ui/static/js/controllers/Projects.js index 35958939ec..9ad119565a 100644 --- a/awx/ui/static/js/controllers/Projects.js +++ b/awx/ui/static/js/controllers/Projects.js @@ -92,8 +92,7 @@ function ProjectsList ($scope, $rootScope, $location, $log, $routeParams, Rest, $log.debug('Received event for project: ' + project.name); $log.debug('Status changed to: ' + data.status); if (data.status === 'successful' || data.status === 'failed') { - project.scm_update_tooltip = "Start an SCM update"; - project.scm_type_class = ""; + $scope.refresh(); } else { project.scm_update_tooltip = "SCM update currently running";