Initial commit
This commit is contained in:
		
							
								
								
									
										11
									
								
								modules/send_raw/files/select.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								modules/send_raw/files/select.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
function updateUser() {
 | 
			
		||||
	var select = document.getElementById('selectnetwork');
 | 
			
		||||
	var opt = select.options[select.selectedIndex];
 | 
			
		||||
	document.getElementById('user').value = opt.parentNode.getAttribute('label');
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function init() {
 | 
			
		||||
	updateUser();
 | 
			
		||||
	document.getElementById('networklabel').firstChild.nodeValue = 'Network:';
 | 
			
		||||
	document.getElementById('userblock').removeAttribute('style');
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user