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