mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-03 19:54:14 +00:00 
			
		
		
		
	Javascript errors are reported
This commit is contained in:
		@@ -19,6 +19,11 @@ ComunicWeb.common.system = {
 | 
				
			|||||||
		//Start init
 | 
							//Start init
 | 
				
			||||||
		ComunicWeb.debug.logMessage("Start initialization...");
 | 
							ComunicWeb.debug.logMessage("Start initialization...");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
							//Enable error reporting
 | 
				
			||||||
 | 
							window.addEventListener("error", function(e){
 | 
				
			||||||
 | 
								ComunicWeb.common.error.syntaxtError(e.error);
 | 
				
			||||||
 | 
							});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		//Disable tooltips
 | 
							//Disable tooltips
 | 
				
			||||||
		$(function () {
 | 
							$(function () {
 | 
				
			||||||
			$(document.body).tooltip("disable");
 | 
								$(document.body).tooltip("disable");
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user