mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
Fix: Grids will no longer display alerts when navigating to another page while the grid is still loading.
This commit is contained in:
parent
68e1a0bc4d
commit
2635ff9bee
11 changed files with 58 additions and 3 deletions
|
@ -32,9 +32,10 @@
|
|||
|
||||
});
|
||||
|
||||
jqXHR.error(function (xhr, ajaxOptions, thrownError) {
|
||||
jqXHR.error(function (xhr, textStatus, thrownError) {
|
||||
//ignore notification errors.
|
||||
if (this.url.indexOf("/notification/Comet") !== 0) {
|
||||
alert("Status: " + textStatus + ", Error: " + thrownError);
|
||||
$.gritter.add({
|
||||
title: 'Request failed',
|
||||
text: this.url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue