doodah/web/netadmin.js
// Loop through status update response and pass them to the nodes

Loop through status update response and pass them to the nodes
Loop through status update response and pass them to the nodes
function StatusUpdate( statusdata ) {
	for (var key in statusdata) {
		var state = statusdata[key];
		var node;
		var name = state.name.trim();
		if( !(name in Nodes) ) {
			node = new Node( name, state.status, 'undefined', state.autohide );
		} else {
			node = Nodes[name];
		}
		node.addState( key, state );
	}	
}
function StatusUpdate ( statusdata ) { for ( var key in statusdata ) { var state = statusdata [ key ] ; var node ; var name = state . name . trim ( ) ; if ( ! ( name in Nodes ) ) { node = new Node ( name , state . status , 'undefined' , state . autohide ) ; } else { node = Nodes [ name ] ; } node . addState ( key , state ) ; } }
Loop through status update response and pass them to the nodes
Loop through status update response and pass them to the nodes
//console.log( "StatusUpdate()..." );
 //console.log( "-"+key+", "+state.name );
 // Create a new node if one does not already exist
 //console.log( "==New Node" );
 // Add this new state to the node.
