mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
more validation
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
Reference in New Issue
Block a user