fix cinema mode failure

This commit is contained in:
Luke Pulverenti 2015-10-26 12:21:00 -04:00
parent b9ad8322dd
commit 6a162d4001
8 changed files with 41 additions and 8 deletions

View file

@ -45,7 +45,16 @@
url: apiClient.getUrl('Startup/User'),
dataType: 'json'
}).done(onUpdateUserComplete);
}).done(onUpdateUserComplete).fail(function () {
var msgKey = form.querySelector('#txtConnectUserName').value ? 'ErrorAddingEmbyConnectAccount' : 'DefaultErrorMessage';
Dashboard.alert({
message: Globalize.translate(msgKey)
});
});
}
function onSubmit() {