mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-28 10:37:41 +00:00
15 lines
No EOL
463 B
JavaScript
15 lines
No EOL
463 B
JavaScript
/// <reference path="JsLibraries/jquery.js" />
|
|
|
|
window.onerror = function (msg, url, line) {
|
|
alert("Error: " + msg + "\nurl: " + url + "\nline #: " + line);
|
|
|
|
|
|
var suppressErrorAlert = false;
|
|
// 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);
|
|
}); |