Fixed jsTree to handle subgroups.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8193 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -119,6 +119,8 @@ function loadGroups(data) { | ||||
| 	 | ||||
| 	// Load nodes onclick | ||||
| 	$('#groups').bind('select_node.jstree', function(event, data) { | ||||
| 		// If there are subgroups, remove them | ||||
| 		data.rslt.obj.children('ul').remove(); | ||||
| 		var thisGroup = jQuery.trim(data.rslt.obj.text()); | ||||
| 		if (thisGroup) { | ||||
| 			// Clear nodes division | ||||
|   | ||||
		Reference in New Issue
	
	Block a user