mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
suppress errors
This commit is contained in:
parent
df208fff3a
commit
386a9bc03d
@ -114,17 +114,6 @@ var Dashboard = {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Dashboard.hideLoadingMsg();
|
Dashboard.hideLoadingMsg();
|
||||||
|
|
||||||
if (!Dashboard.suppressAjaxErrors && data.type != 'GET' && !AppInfo.isNativeApp) {
|
|
||||||
|
|
||||||
setTimeout(function () {
|
|
||||||
|
|
||||||
var msg = data.errorCode || Dashboard.defaultErrorMessage;
|
|
||||||
|
|
||||||
Dashboard.showError(msg);
|
|
||||||
|
|
||||||
}, 500);
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
getCurrentUser: function () {
|
getCurrentUser: function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user