mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -02:30
Inventory refactor: fixed drag-n-drop so that a group cannot be dropped onto itself or dropped into a group where it already exists.
This commit is contained in:
@@ -75,7 +75,7 @@ angular.module('InventoryTree', ['Utilities', 'RestServices', 'GroupsHelper', 'P
|
||||
|
||||
var children = [];
|
||||
for (var j=0; j < sorted[i].children.length; j++) {
|
||||
children.push(sorted[i].children[j]);
|
||||
children.push(sorted[i].children[j].id);
|
||||
}
|
||||
|
||||
var group = {
|
||||
|
||||
Reference in New Issue
Block a user