Merge branch 'pull/5384' into 3.1

This commit is contained in:
Damian Mooyman 2016-05-02 18:16:41 +12:00
commit 71a4f1e605

View File

@ -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);
}