From 82503521887912812fe9f5ec01363db290d4c469 Mon Sep 17 00:00:00 2001 From: phamt Date: Tue, 9 Nov 2010 13:28:55 +0000 Subject: [PATCH] Removed cookie and changed text color back to normal after node attributes are updated. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8102 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/js/nodes/nodes.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xCAT-UI/js/nodes/nodes.js b/xCAT-UI/js/nodes/nodes.js index 4ba523eb5..841b85cc9 100644 --- a/xCAT-UI/js/nodes/nodes.js +++ b/xCAT-UI/js/nodes/nodes.js @@ -1732,6 +1732,9 @@ function updateNodeAttrs(group) { var row = getNodeRow(nodes[i], rows); $(row).find('td').each(function (){ if ($(this).css('color') == 'red') { + // Change color back to normal + $(this).css('color', ''); + // Get column position colPos = $(this).parent().children().index($(this)); // Get column value @@ -1797,6 +1800,10 @@ function updateNodeAttrs(group) { }); } // End of if } // End of for + + // Clear cookie containing list of nodes where + // their attributes need to be updated + $.cookie('Nodes2Update', ''); } // End of function }); } \ No newline at end of file