You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/NzbDrone.Web/_backboneApp/errorHandler.js

15 lines
462 B

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