mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Fix incorrect logic check
This commit is contained in:
parent
fde6376996
commit
a38eb8b784
@ -150,7 +150,7 @@ jQuery.noConflict();
|
||||
}
|
||||
|
||||
// Show message (but ignore aborted requests)
|
||||
if(xhr.status !== 0 && msg && $.inArray(msg, ignoredMessages) != -1) {
|
||||
if(xhr.status !== 0 && msg && $.inArray(msg, ignoredMessages) === -1) {
|
||||
// Decode into UTF-8, HTTP headers don't allow multibyte
|
||||
statusMessage(decodeURIComponent(msg), msgType);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user