Better IE6 detection
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 12 Oct 2009 11:31:48 +0000 (05:31 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 12 Oct 2009 11:31:48 +0000 (05:31 -0600)
imp/js/DimpCore.js

index 11d9cdc..f273f1d 100644 (file)
@@ -13,7 +13,7 @@ var DimpCore = {
     //   DMenu, Growler, inAjaxCallback, is_init, is_logout, is_redirect,
     //   onDoActionComplete
     growler_log: true,
-    is_ie6: false /*@cc_on || @_jscript_version < 5.7 @*/,
+    is_ie6: Prototype.Browser.IE && !window.XMLHttpRequest,
     server_error: 0,
 
     doActionOpts: {