mirror of
https://github.com/ansible/awx.git
synced 2026-05-23 08:37:48 -02:30
cleaning up jshint errors
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
$scope.toggleEnabled = function(){
|
||||
$scope.host.enabled = !$scope.host.enabled;
|
||||
};
|
||||
$scope.formSave = function(){;
|
||||
$scope.formSave = function(){
|
||||
var params = {
|
||||
variables: $scope.extraVars === '---' || $scope.extraVars === '{}' ? null : $scope.extraVars,
|
||||
name: $scope.name,
|
||||
@@ -25,7 +25,7 @@
|
||||
enabled: $scope.host.enabled,
|
||||
inventory: $stateParams.inventory_id
|
||||
};
|
||||
ManageHostsService.post(params).then(function(res){
|
||||
ManageHostsService.post(params).then(function(){
|
||||
$state.go('^', null, {reload: true});
|
||||
});
|
||||
};
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
description: $scope.description,
|
||||
enabled: $scope.host.enabled
|
||||
};
|
||||
ManageHostsService.put(host).then(function(res){
|
||||
ManageHostsService.put(host).then(function(){
|
||||
$state.go('^', null, {reload: true});
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user