mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	Fixed column sizing after ganglia status is updated.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10672 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -1376,11 +1376,13 @@ function loadGangliaStatus(data) {
 | 
			
		||||
		node = jQuery.trim(ganglia[i][0]);
 | 
			
		||||
		status = jQuery.trim(ganglia[i][1]);
 | 
			
		||||
 | 
			
		||||
		// Get the row containing the node
 | 
			
		||||
		rowNum = findRow(node, '#' + nodesTableId, 1);
 | 
			
		||||
 | 
			
		||||
		// Update the power status column
 | 
			
		||||
		datatable.fnUpdate(status, rowNum, 4);
 | 
			
		||||
		if (node) {
 | 
			
		||||
			// Get the row containing the node
 | 
			
		||||
			rowNum = findRow(node, '#' + nodesTableId, 1);
 | 
			
		||||
	
 | 
			
		||||
			// Update the power status column
 | 
			
		||||
			datatable.fnUpdate(status, rowNum, 4);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// Hide Ganglia loader
 | 
			
		||||
 
 | 
			
		||||
@@ -660,11 +660,13 @@ function loadGangliaStatus(data) {
 | 
			
		||||
		node = jQuery.trim(ganglia[i][0]);
 | 
			
		||||
		status = jQuery.trim(ganglia[i][1]);
 | 
			
		||||
 | 
			
		||||
		// Get the row containing the node
 | 
			
		||||
		rowNum = findRow(node, '#' + nodesDTId, 1);
 | 
			
		||||
		if (node) {
 | 
			
		||||
			// Get the row containing the node
 | 
			
		||||
			rowNum = findRow(node, '#' + nodesDTId, 1);
 | 
			
		||||
 | 
			
		||||
		// Update the power status column
 | 
			
		||||
		datatable.fnUpdate(status, rowNum, 4);
 | 
			
		||||
			// Update the power status column
 | 
			
		||||
			datatable.fnUpdate(status, rowNum, 4);
 | 
			
		||||
		}		
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	// Hide Ganglia loader
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user