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