mirror of
				https://github.com/mail-in-a-box/mailinabox.git
				synced 2025-10-30 18:50:53 +00:00 
			
		
		
		
	fix problem with jQuery being loaded too late
This commit is contained in:
		
							parent
							
								
									70c607e256
								
							
						
					
					
						commit
						1a67c94db0
					
				| @ -10,6 +10,7 @@ | ||||
|         <meta name="robots" content="noindex, nofollow"> | ||||
| 
 | ||||
|         <link rel="stylesheet" href="/admin/assets/bootstrap/css/bootstrap.min.css"> | ||||
|         <script src="/admin/assets/jquery.min.js"></script> | ||||
|         <style> | ||||
| 	    body { | ||||
| 		overflow-y: scroll; | ||||
| @ -191,7 +192,6 @@ | ||||
|           </div> | ||||
|         </div> | ||||
| 
 | ||||
|         <script src="/admin/assets/jquery.min.js"></script> | ||||
|         <script src="/admin/assets/bootstrap/js/bootstrap.min.js"></script> | ||||
| 
 | ||||
|         <script> | ||||
|  | ||||
| @ -345,11 +345,11 @@ function generate_random_password() { | ||||
|   var charset = "ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz23456789"; // confusable characters skipped | ||||
|   for (var i = 0; i < 12; i++) | ||||
|     pw += charset.charAt(Math.floor(Math.random() * charset.length)); | ||||
|   show_modal_error("Random Password", "<p>Here, try this:</p> <p><code style='font-size: 110%'>" + pw + "</code></pr"); | ||||
|   show_modal_error("Random Password", "<p>Here, try this:</p> <p><code style='font-size: 110%'>" + pw + "</code></p>"); | ||||
|   return false; // cancel click | ||||
| } | ||||
| 
 | ||||
| $(document).ready(function(){ | ||||
| $(function() { | ||||
|     api( | ||||
|         "/system/default-quota", | ||||
|         "GET", | ||||
| @ -358,5 +358,5 @@ $(document).ready(function(){ | ||||
|             $('#adduserQuota').val(r['default-quota']); | ||||
|         } | ||||
|     ); | ||||
| }); | ||||
| }) | ||||
| </script> | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user