(js) Prevent 304 HTTP status code in IE11

This commit is contained in:
Francis Lachapelle
2017-04-21 16:42:08 -04:00
parent 65e735a314
commit e0cb700f54
+2 -2
View File
@@ -468,8 +468,8 @@ function triggerAjaxRequest(url, callback, userdata, content, headers, attempt)
activeAjaxRequests++;
document.animTimer = setTimeout("checkAjaxRequestsState();", 250);
if (Prototype.Browser.IE) {
// Prevent 304 HTTP status code from the server
if (navigator.userAgent.include('Trident')) {
// Prevent 304 HTTP status code from the server with IE
if (url.indexOf('?') >= 0)
url += '&';
else