mirror of https://github.com/apache/nifi.git
NIFI-798:
- Adding special handling for ajax failures with a response code of 201.
This commit is contained in:
parent
75ed16c8fe
commit
82a79f1971
|
@ -252,7 +252,7 @@ nf.Common = {
|
|||
} else {
|
||||
$('#message-content').text(xhr.responseText);
|
||||
}
|
||||
} else if (xhr.status === 200) {
|
||||
} else if (xhr.status === 200 || xhr.status === 201) {
|
||||
$('#message-title').text('Parse Error');
|
||||
if ($.trim(xhr.responseText) === '') {
|
||||
$('#message-content').text('Unable to interpret response from NiFi.');
|
||||
|
|
Loading…
Reference in New Issue