mirror of
https://github.com/ansible/awx.git
synced 2026-05-13 04:17:36 -02:30
Latest UI inventory changes
This commit is contained in:
@@ -162,9 +162,9 @@ function GroupsAdd ($scope, $rootScope, $compile, $location, $log, $routeParams,
|
|||||||
data[fld] = scope[fld];
|
data[fld] = scope[fld];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($routeParams.group_id) {
|
//if ($routeParams.group_id) {
|
||||||
data['inventory'] = $routeParams.inventory_id;
|
// data['inventory'] = $routeParams.inventory_id;
|
||||||
}
|
//}
|
||||||
|
|
||||||
Rest.post(data)
|
Rest.post(data)
|
||||||
.success( function(data, status, headers, config) {
|
.success( function(data, status, headers, config) {
|
||||||
|
|||||||
@@ -27,13 +27,14 @@ angular.module('GroupFormDefinition', [])
|
|||||||
type: 'text',
|
type: 'text',
|
||||||
addRequired: false,
|
addRequired: false,
|
||||||
editRequired: 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
|
buttons: { //for now always generates <button> tags
|
||||||
|
|||||||
Reference in New Issue
Block a user