FIX Stop "success" message showing in CMS

fixes #5281
This commit is contained in:
Daniel Hensby 2016-04-12 15:02:54 +01:00 committed by Daniel Hensby
parent 3b7cfd0118
commit 36283b86d5
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E

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) {