You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by je...@apache.org on 2005/10/10 18:12:26 UTC

svn commit: r312677 - /httpd/mod_mbox/trunk/data/archives.js

Author: jerenkrantz
Date: Mon Oct 10 09:12:23 2005
New Revision: 312677

URL: http://svn.apache.org/viewcvs?rev=312677&view=rev
Log:
* archives.js: Properly exclude Safari

Modified:
    httpd/mod_mbox/trunk/data/archives.js

Modified: httpd/mod_mbox/trunk/data/archives.js
URL: http://svn.apache.org/viewcvs/httpd/mod_mbox/trunk/data/archives.js?rev=312677&r1=312676&r2=312677&view=diff
==============================================================================
--- httpd/mod_mbox/trunk/data/archives.js (original)
+++ httpd/mod_mbox/trunk/data/archives.js Mon Oct 10 09:12:23 2005
@@ -32,8 +32,13 @@
 /* I *hate* doing this kind of things */
 function checkBrowser ()
 {
-  /* Gecko only ... we're still working on it ! */
-  if (navigator.product == 'Gecko') {
+  /* Gecko only ... we're still working on it !
+   *
+   * Safari will report itself as 'Gecko', but it will crash with AJAX.
+   * So, ignore it too.
+   */
+  if (navigator.product == 'Gecko' &&
+      navigator.vendor != "Apple Computer, Inc.") {
     return true;
   }