mirror of
https://github.com/ansible/awx.git
synced 2026-01-22 15:08:03 -03:30
fixed the initial post to the api for inv vars
This commit is contained in:
parent
3c9887dc45
commit
147ac95294
@ -438,8 +438,9 @@ export function InventoriesAdd($scope, $rootScope, $compile, $location, $log, $r
|
||||
}
|
||||
$scope.removeUpdateInventoryVariables = $scope.$on('UpdateInventoryVariables', function(e, data) {
|
||||
var inventory_id = data.id;
|
||||
var vars_to_send = {"variables": json_data};
|
||||
Rest.setUrl(data.related.variable_data);
|
||||
Rest.put(json_data)
|
||||
Rest.put(vars_to_send)
|
||||
.success(function () {
|
||||
Wait('stop');
|
||||
$location.path('/inventories/' + inventory_id + '/manage');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user