mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-01 21:58:51 +02:00
Quick fix for HTTP/2.0 on OSX/Safari v9.1.1
This commit is contained in:
parent
c11ac5d248
commit
8f2953f1a0
@ -141,7 +141,7 @@ jQuery.noConflict();
|
|||||||
var msg = (xhr.getResponseHeader('X-Status')) ? xhr.getResponseHeader('X-Status') : xhr.statusText,
|
var msg = (xhr.getResponseHeader('X-Status')) ? xhr.getResponseHeader('X-Status') : xhr.statusText,
|
||||||
reathenticate = xhr.getResponseHeader('X-Reauthenticate'),
|
reathenticate = xhr.getResponseHeader('X-Reauthenticate'),
|
||||||
msgType = (xhr.status < 200 || xhr.status > 399) ? 'bad' : 'good',
|
msgType = (xhr.status < 200 || xhr.status > 399) ? 'bad' : 'good',
|
||||||
ignoredMessages = ['OK', 'success'];
|
ignoredMessages = ['OK', 'success', 'HTTP/2.0 200'];
|
||||||
|
|
||||||
// Enable reauthenticate dialog if requested
|
// Enable reauthenticate dialog if requested
|
||||||
if(reathenticate) {
|
if(reathenticate) {
|
||||||
|
Loading…
Reference in New Issue
Block a user