diff --git a/xCAT-UI/js/nodes/nodes.js b/xCAT-UI/js/nodes/nodes.js index 449ab6904..3daa673a7 100644 --- a/xCAT-UI/js/nodes/nodes.js +++ b/xCAT-UI/js/nodes/nodes.js @@ -1840,7 +1840,7 @@ function restoreNodeAttrs() { for (var i in nodes) { if (nodes[i]) { // Get the row containing the node link - rowPos = findRowIndexUsingCol(tgts[i], '#nodesDataTable', 1); + rowPos = findRowIndexUsingCol(nodes[i], '#nodesDataTable', 1); $(rows[rowPos]).find('td').each(function (){ if ($(this).css('color') == 'red') { // Change color back to normal