mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 13:39:27 -02:30
Navigate the user to the inventory edit form after creating basic inventory
This commit is contained in:
committed by
Jared Tabor
parent
8173ec4014
commit
ad494bbb40
@@ -77,7 +77,7 @@ function InventoriesAdd($scope, $location,
|
|||||||
.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);
|
$state.go('inventories.edit', {inventory_id: inventory_id});
|
||||||
})
|
})
|
||||||
.error(function(data, status) {
|
.error(function(data, status) {
|
||||||
ProcessErrors($scope, data, status, form, {
|
ProcessErrors($scope, data, status, form, {
|
||||||
|
|||||||
Reference in New Issue
Block a user