Javascript errors are reported

This commit is contained in:
Pierre HUBERT 2018-07-03 08:32:55 +02:00
parent f4e1b47d9d
commit dd53a39c4b

View File

@ -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");