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

fix promise

This commit is contained in:
Luke Pulverenti 2015-11-28 16:37:27 -05:00
parent 722280cd21
commit 5dfe221212

View file

@ -109,15 +109,16 @@
callback: actionCallback
}).fail(function () {
});
}).fail(function () {
Dashboard.alert({
Dashboard.alert({
message: Globalize.translate('ErrorAddingEmbyConnectAccount')
message: Globalize.translate('ErrorAddingEmbyConnectAccount')
});
});
});
} else {
if (noActionCallback) {
noActionCallback();