2013-01-23 01:23:27 +00:00
|
|
|
|
/// <reference path="JsLibraries/jquery.js" />
|
|
|
|
|
|
|
|
|
|
window.onerror = function (msg, url, line) {
|
|
|
|
|
alert("Error: " + msg + "\nurl: " + url + "\nline #: " + line);
|
|
|
|
|
|
|
|
|
|
|
2013-01-23 05:48:22 +00:00
|
|
|
|
var suppressErrorAlert = false;
|
2013-01-23 01:23:27 +00:00
|
|
|
|
// If you return true, then error alerts (like in older versions of
|
|
|
|
|
// Internet Explorer) will be suppressed.
|
|
|
|
|
return suppressErrorAlert;
|
2013-01-23 05:03:57 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$(document).ajaxSuccess(function (event, XMLHttpRequest, ajaxOptionsa) {
|
|
|
|
|
console.log(ajaxOptionsa);
|
|
|
|
|
});
|