Merge pull request #5312 from dhensby/pulls/3.1/fix-5281

FIX Stop "success" message showing in CMS
This commit is contained in:
Loz Calver 2016-04-12 16:56:06 +01:00
commit 69858760e1

View File

@ -141,7 +141,7 @@ jQuery.noConflict();
var msg = (xhr.getResponseHeader('X-Status')) ? xhr.getResponseHeader('X-Status') : xhr.statusText,
reathenticate = xhr.getResponseHeader('X-Reauthenticate'),
msgType = (xhr.status < 200 || xhr.status > 399) ? 'bad' : 'good',
ignoredMessages = ['OK'];
ignoredMessages = ['OK', 'success'];
// Enable reauthenticate dialog if requested
if(reathenticate) {