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:
parent
3bcfbc51ae
commit
faefeffa90
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user