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
This commit is contained in:
parent
57e4a5be62
commit
8250352188
@ -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
|
||||
});
|
||||
}
|
Loading…
Reference in New Issue
Block a user