mirror of
https://github.com/ansible/awx.git
synced 2026-01-18 13:11:19 -03:30
Latest UI inventory changes
This commit is contained in:
parent
2612ebd792
commit
55f44b86f1
@ -162,9 +162,9 @@ function GroupsAdd ($scope, $rootScope, $compile, $location, $log, $routeParams,
|
||||
data[fld] = scope[fld];
|
||||
}
|
||||
|
||||
if ($routeParams.group_id) {
|
||||
data['inventory'] = $routeParams.inventory_id;
|
||||
}
|
||||
//if ($routeParams.group_id) {
|
||||
// data['inventory'] = $routeParams.inventory_id;
|
||||
//}
|
||||
|
||||
Rest.post(data)
|
||||
.success( function(data, status, headers, config) {
|
||||
|
||||
@ -27,13 +27,14 @@ angular.module('GroupFormDefinition', [])
|
||||
type: 'text',
|
||||
addRequired: false,
|
||||
editRequired: false
|
||||
},
|
||||
inventory: {
|
||||
label: 'Inventory',
|
||||
type: 'hidden',
|
||||
includeOnEdit: true,
|
||||
includeOnAdd: true
|
||||
}
|
||||
// ,
|
||||
// inventory: {
|
||||
// label: 'Inventory',
|
||||
// type: 'hidden',
|
||||
// includeOnEdit: true,
|
||||
// includeOnAdd: true
|
||||
// }
|
||||
},
|
||||
|
||||
buttons: { //for now always generates <button> tags
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user