diff --git a/xCAT-UI/js/monitor/gangliamon.js b/xCAT-UI/js/monitor/gangliamon.js index ef649f6a9..25bb91f70 100644 --- a/xCAT-UI/js/monitor/gangliamon.js +++ b/xCAT-UI/js/monitor/gangliamon.js @@ -176,6 +176,8 @@ function loadGroups4Ganglia(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