From b58f65ca268f2fd0b4352604c5479944f104c722 Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Fri, 30 May 2014 16:45:25 -0400 Subject: [PATCH] Fixed JS compile errors. --- awx/ui/static/js/helpers/Hosts.js | 6 +++--- awx/ui/static/js/helpers/refresh.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/awx/ui/static/js/helpers/Hosts.js b/awx/ui/static/js/helpers/Hosts.js index 4a1d637fd7..d9c0e9e409 100644 --- a/awx/ui/static/js/helpers/Hosts.js +++ b/awx/ui/static/js/helpers/Hosts.js @@ -181,8 +181,8 @@ function($routeParams, Empty, InventoryHosts, GetBasePath, SearchInit, PaginateI scope.removePostRefresh = scope.$on('PostRefresh', function(e, set) { if (set === 'hosts') { for (var i=0; i < scope.hosts.length; i++) { - //Set tooltip for host enabled flag - scope.hosts[i].enabled_flag = scope.hosts[i].enabled; + //Set tooltip for host enabled flag + scope.hosts[i].enabled_flag = scope.hosts[i].enabled; } SetStatus({ scope: scope }); setTimeout(function() { ApplyEllipsis('#hosts_table .host-name a'); }, 2500); @@ -269,7 +269,7 @@ function(GetBasePath, Rest, Wait, ProcessErrors, Alert, Find, SetEnabledMsg) { } else { Alert('Action Not Allowed', 'This host is managed by an external cloud source. Disable it at the external source, ' + - 'and then run an inventory sync to update Tower with the new status.', 'alert-info'); + 'then run an inventory sync to update Tower with the new status.', 'alert-info'); } }; }]) diff --git a/awx/ui/static/js/helpers/refresh.js b/awx/ui/static/js/helpers/refresh.js index 3d1fa03e6a..d764d6a9f2 100644 --- a/awx/ui/static/js/helpers/refresh.js +++ b/awx/ui/static/js/helpers/refresh.js @@ -49,7 +49,7 @@ angular.module('RefreshHelper', ['RestServices', 'Utilities', 'PaginationHelpers if (!deferWaitStop) { Wait('stop'); } - scope.$emit('PostRefresh', set);scope.$emit('PostRefresh'); + scope.$emit('PostRefresh', set); }) .error(function (data, status) { scope[iterator + 'HoldInput'] = false;