mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	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:
		| @@ -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 | ||||
| 	}); | ||||
| } | ||||
		Reference in New Issue
	
	Block a user