mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	Added so radiobuttons will be checked when in use
This commit is contained in:
		
							
								
								
									
										15
									
								
								js/admin.js
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								js/admin.js
									
									
									
									
									
								
							@@ -14,14 +14,15 @@ function admin()
 | 
			
		||||
 | 
			
		||||
function submitAdmin(form)
 | 
			
		||||
{
 | 
			
		||||
	voting = form.vote.checked,
 | 
			
		||||
	addSongs = form.addSongs.checked,
 | 
			
		||||
	longSongs = form.longSongs.checked,
 | 
			
		||||
	frontpage = form.frontPage.checked,
 | 
			
		||||
	allvideos = form.allvideos.checked,
 | 
			
		||||
	removePlay = form.removePlay.checked,
 | 
			
		||||
	voting = form.vote.value,
 | 
			
		||||
	addSongs = form.addSongs.value,
 | 
			
		||||
	longSongs = form.longSongs.value,
 | 
			
		||||
	frontpage = form.frontPage.value,
 | 
			
		||||
	allvideos = form.allvideos.value,
 | 
			
		||||
	removePlay = form.removePlay.value,
 | 
			
		||||
	adminpass = form.pass.value;
 | 
			
		||||
 | 
			
		||||
	
 | 
			
		||||
	
 | 
			
		||||
	confRes = $.ajax({
 | 
			
		||||
		type: "POST",
 | 
			
		||||
		url: "php/change.php",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user