mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Moved inventory detail load procedure from inventory controller to the helper so that it can be called when the detail page first loads and anytime we need to refresh tree data. Working on a way to refresh tree data, re-open previously open nodes and re-select previously active node after add/edit/delete of a group. Any change to tree data should be instantly reflect in the tree in an ajax/async fashion.
This commit is contained in:
@@ -14,8 +14,9 @@ angular.module('GroupListDefinition', [])
|
||||
iterator: 'group',
|
||||
selectTitle: 'Add Group',
|
||||
editTitle: 'Groups',
|
||||
selectInstructions: 'Click on a row to select it, and click Finished when done. Use the green <i class=\"icon-plus\"></i> button to create a new row.',
|
||||
selectInstructions: 'Click on a row to select it, and Finished when done. Click the green <i class=\"icon-plus\"></i> Add to create a new row.',
|
||||
index: true,
|
||||
well: false,
|
||||
|
||||
fields: {
|
||||
name: {
|
||||
@@ -32,7 +33,7 @@ angular.module('GroupListDefinition', [])
|
||||
label: 'Add',
|
||||
icon: 'icon-plus',
|
||||
mode: 'all', // One of: edit, select, all
|
||||
ngClick: 'addGroup()',
|
||||
ngClick: 'createGroup()',
|
||||
class: 'btn-success btn-small',
|
||||
awToolTip: 'Create a new group'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user