httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject svn commit: r312677 - /httpd/mod_mbox/trunk/data/archives.js
Date Mon, 10 Oct 2005 16:12:26 GMT
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;
   }
 



Mime
View raw message