Disable error chatch

This commit is contained in:
Paulo Veiga 2011-07-24 12:10:05 -03:00
parent aee814ffa7
commit 8eb84ce7b3
2 changed files with 11 additions and 11 deletions

View File

@ -79,13 +79,13 @@ if (core.Utils.isDefined(window.LoggerService))
}
// Handle error events ...
window.onerror = function(sMsg, sUrl, sLine)
{
window.hasUnexpectedErrors = true;
var msg = sMsg + ' (' + sUrl + ', line ' + sLine + ')';
wLogger.fatal(msg);
$(window).fireEvent("error",null,0);
return false;
};
//// Handle error events ...
//window.onerror = function(sMsg, sUrl, sLine)
//{
// window.hasUnexpectedErrors = true;
// var msg = sMsg + ' (' + sUrl + ', line ' + sLine + ')';
// wLogger.fatal(msg);
//
// $(window).fireEvent("error",null,0);
// return false;
//};

View File

@ -67,7 +67,7 @@
<module>web2d</module>
<module>core-js</module>
<module>mindplot</module>
<module>wise-webapp</module>
<module>wise-doc</module>
</modules>
</project>