mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
more validation
This commit is contained in:
parent
e4c8255d69
commit
488da59143
14 changed files with 105 additions and 69 deletions
|
@ -69,10 +69,13 @@
|
|||
return false;
|
||||
//message.message = 'NzbDrone Server Not Reachable. make sure NzbDrone is running.';
|
||||
}
|
||||
else {
|
||||
message.message = '[{0}] {1} : {2}'.format(ajaxOptions.type, xmlHttpRequest.statusText, ajaxOptions.url);
|
||||
else if (xmlHttpRequest.status === 400 && ajaxOptions.isValidatedCall) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
message.message = '[{0}] {1} : {2}'.format(ajaxOptions.type, xmlHttpRequest.statusText, ajaxOptions.url);
|
||||
|
||||
window.Messenger().post(message);
|
||||
return false;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue