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