fix cinema mode failure
This commit is contained in:
parent
b9ad8322dd
commit
6a162d4001
8 changed files with 41 additions and 8 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue