mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 22:48:02 -03:30
Fixed JS compile errors.
This commit is contained in:
parent
998b47fbf6
commit
b58f65ca26
@ -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');
|
||||
}
|
||||
};
|
||||
}])
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user