Fix: Test not working

This commit is contained in:
Laurent Destailleur 2013-09-29 14:00:56 +02:00
parent 019c86dff0
commit 601de7a308

View File

@ -281,9 +281,9 @@ jQuery(document).ready(function() {
jQuery("#httpcachejsok").show();
jQuery("#httpcachejsko").hide();
}
compjstring=getjsurl.getResponseHeader(\'Content-Encoding\');
/* alert(\'php:\'+getjsurl.getAllResponseHeaders()); */
/*alert(\'php:\'+compjsstring);*/
compjsstring=getjsurl.getResponseHeader(\'Content-Encoding\');
/* alert(\'js:\'+getjsurl.getAllResponseHeaders()); */
/*alert(\'js:\'+compjsstring);*/
if (compjsstring == null || (compjsstring.indexOf("gzip") == -1 && compjsstring.indexOf("deflate") == -1))
{
jQuery("#httpcompjsok").hide();