if(x == true) return true else return false? return x :P
This commit is contained in:
		
							parent
							
								
									924eb98238
								
							
						
					
					
						commit
						25bab5d672
					
				@ -21,13 +21,9 @@ class AdminPageTheme extends Themelet {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
		$html = '
 | 
							$html = '
 | 
				
			||||||
			<script type="text/javascript">
 | 
								<script type="text/javascript">
 | 
				
			||||||
			function imgidconfirm(){
 | 
								function imgidconfirm() {
 | 
				
			||||||
				if(document.getElementById("misc").selectedIndex == 4){
 | 
									if(document.getElementById("misc").selectedIndex == 4) {
 | 
				
			||||||
					if(confirm("This function WILL break any bookmarks & links.\n The event log will also not be updated with new ids. \n Are you sure you wish to continue?")){
 | 
										return confirm("This function WILL break any bookmarks & links.\n The event log will also not be updated with new ids. \n Are you sure you wish to continue?");
 | 
				
			||||||
						return true;
 | 
					 | 
				
			||||||
					}else{
 | 
					 | 
				
			||||||
						return false;
 | 
					 | 
				
			||||||
					}
 | 
					 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
			</script>
 | 
								</script>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user