1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Use global response error handling

This commit is contained in:
softworkz 2016-04-23 22:23:37 +02:00
parent 90e6a8e467
commit 80bca379ff
5 changed files with 9 additions and 38 deletions

View file

@ -96,15 +96,6 @@
$('.divMatchInfos', page).html(html);
}
function onApiFailure(e) {
Dashboard.hideLoadingMsg();
Dashboard.alert({
message: Globalize.translate('DefaultErrorMessage')
});
}
function getTabs() {
return [
{
@ -142,7 +133,7 @@
reloadList(page);
}, onApiFailure);
}, Dashboard.processErrorResponse);
});