From a6c1e3385bf54864c3e2f5e5840591b16edfcca6 Mon Sep 17 00:00:00 2001 From: chouseknecht Date: Tue, 3 Sep 2013 12:30:06 -0400 Subject: [PATCH] Latest UI changes. --- awx/ui/static/js/controllers/Projects.js | 6 +++--- awx/ui/static/js/lists/Projects.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/awx/ui/static/js/controllers/Projects.js b/awx/ui/static/js/controllers/Projects.js index 43aff43245..4f5fde8a09 100644 --- a/awx/ui/static/js/controllers/Projects.js +++ b/awx/ui/static/js/controllers/Projects.js @@ -27,10 +27,10 @@ function ProjectsList ($scope, $rootScope, $location, $log, $routeParams, Rest, var url = (base == 'teams') ? GetBasePath('teams') + $routeParams.team_id + '/projects/' : defaultUrl; SelectionInit({ scope: scope, list: list, url: url, returnToCaller: 1 }); - if (scope.postRefreshRemove) { - scope.postRefereshRemove(); + if (scope.projectsPostRefresh) { + scope.projectsPostRefresh(); } - scope.postRefreshRemove = scope.$on('PostRefresh', function() { + scope.projectsPostRefresh = scope.$on('PostRefresh', function() { for (var i=0; i < scope.projects.length; i++) { if (scope.projects[i].scm_type == null) { // override the last_update_failed on manual projects- it should be false so we get a diff --git a/awx/ui/static/js/lists/Projects.js b/awx/ui/static/js/lists/Projects.js index 5e05ff04bf..0c50f1466d 100644 --- a/awx/ui/static/js/lists/Projects.js +++ b/awx/ui/static/js/lists/Projects.js @@ -24,7 +24,7 @@ angular.module('ProjectsListDefinition', []) key: true, label: 'Name', badgeIcon: "\{\{ 'icon-failures-' + project.last_update_failed \}\}", - badgePlacement: 'left', + badgePlacement: 'left' }, description: { label: 'Description'