mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 18:09:57 -03:30
redirecting to inventory manage screen after save
after saving a new inventory
This commit is contained in:
parent
d9559934b0
commit
ee6bc5dbfd
@ -3,7 +3,7 @@
|
||||
*
|
||||
* All Rights Reserved
|
||||
*************************************************/
|
||||
|
||||
|
||||
/**
|
||||
* @ngdoc function
|
||||
* @name controllers.function:Inventories
|
||||
@ -433,7 +433,7 @@ export function InventoriesAdd($scope, $rootScope, $compile, $location, $log, $r
|
||||
.success(function (data) {
|
||||
var inventory_id = data.id;
|
||||
Wait('stop');
|
||||
$location.path('/inventories/' + inventory_id + '/');
|
||||
$location.path('/inventories/' + inventory_id + '/manage');
|
||||
})
|
||||
.error(function (data, status) {
|
||||
ProcessErrors( $scope, data, status, form, { hdr: 'Error!',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user