mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 20:19:21 +00:00
Javascript errors are reported
This commit is contained in:
parent
f4e1b47d9d
commit
dd53a39c4b
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user