Merge pull request #5809 from giankdm/5772-notifications

Quick fix for HTTP/2.0 on OSX/Safari v9.1.1
This commit is contained in:
Daniel Hensby 2016-07-15 00:26:38 +01:00 committed by GitHub
commit 0b869254d5

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', 'success'];
ignoredMessages = ['OK', 'success', 'HTTP/2.0 200'];
// Enable reauthenticate dialog if requested
if(reathenticate) {