openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r957210 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/ content/download/download.js
Date Mon, 06 Jul 2015 11:38:33 GMT
Author: buildbot
Date: Mon Jul  6 11:38:32 2015
New Revision: 957210

Log:
Staging update by buildbot for ooo-site

Modified:
    websites/staging/ooo-site/trunk/cgi-bin/   (props changed)
    websites/staging/ooo-site/trunk/content/   (props changed)
    websites/staging/ooo-site/trunk/content/download/download.js

Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Jul  6 11:38:32 2015
@@ -1 +1 @@
-1689237
+1689373

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Jul  6 11:38:32 2015
@@ -1 +1 @@
-1689237
+1689373

Modified: websites/staging/ooo-site/trunk/content/download/download.js
==============================================================================
--- websites/staging/ooo-site/trunk/content/download/download.js (original)
+++ websites/staging/ooo-site/trunk/content/download/download.js Mon Jul  6 11:38:32 2015
@@ -933,7 +933,7 @@ DL.getPlatform = function() {
 	// For more help or data see: "http://www.useragentstring.com".
 
 	var av, os, ua, ve = "";
-	
+
 	if( navigator.appVersion ) {
 		av		= navigator.appVersion.toLowerCase();	// Get the application version in lower case.
 	}
@@ -1104,29 +1104,30 @@ DL.getPlatform = function() {
 		if( os.indexOf( "mac"			) !== -1 ) {	DL.UI_PLATFORM		= "OS X 64-bit (x86-64) (DMG)";
 									DL.PLATFORM		= "mac64";
 									DL.EXTENSION		= ".dmg";
+
 			// OS X: 10.6 or older?
-			if( ua.indexOf( "10.6"		) !== -1 ||
-			    ua.indexOf( "10_6"		) !== -1 ||
-			    ua.indexOf( "10.5"		) !== -1 ||
-			    ua.indexOf( "10_5"		) !== -1 ||
-			    ua.indexOf( "10.4"		) !== -1 ||
-			    ua.indexOf( "10_4"		) !== -1 ||
-			    ua.indexOf( "10.3"		) !== -1 ||
-			    ua.indexOf( "10_3"		) !== -1 ) {	DL.UI_PLATFORM		= "Mac OS X (Version <= 10.6)";
+			if( ua.indexOf( " 10.6"		) !== -1 ||
+			    ua.indexOf( " 10_6"		) !== -1 ||
+			    ua.indexOf( " 10.5"		) !== -1 ||
+			    ua.indexOf( " 10_5"		) !== -1 ||
+			    ua.indexOf( " 10.4"		) !== -1 ||
+			    ua.indexOf( " 10_4"		) !== -1 ||
+			    ua.indexOf( " 10.3"		) !== -1 ||
+			    ua.indexOf( " 10_3"		) !== -1 ) {	DL.UI_PLATFORM		= "Mac OS X (Version <= 10.6)";
 									DL.PLATFORM		= "mac32";
 			}
 
 			// OS X: 10.7 or newer?
-			if( ua.indexOf( "10.11_"	) !== -1 ||
-			    ua.indexOf( "10_11_"	) !== -1 ||
-			    ua.indexOf( "10.10_"	) !== -1 ||
-			    ua.indexOf( "10_10_"	) !== -1 ||
-			    ua.indexOf( "10.9_"		) !== -1 ||
-			    ua.indexOf( "10_9_"		) !== -1 ||
-			    ua.indexOf( "10.8_"		) !== -1 ||
-			    ua.indexOf( "10_8_"		) !== -1 ||
-			    ua.indexOf( "10.7_"		) !== -1 ||
-			    ua.indexOf( "10_7_"		) !== -1 ) {	DL.UI_PLATFORM		= "OS X 64-bit (x86-64) (DMG)";
+			if( ua.indexOf( " 10.11"	) !== -1 ||
+			    ua.indexOf( " 10_11"	) !== -1 ||
+			    ua.indexOf( " 10.10"	) !== -1 ||
+			    ua.indexOf( " 10_10"	) !== -1 ||
+			    ua.indexOf( " 10.9"		) !== -1 ||
+			    ua.indexOf( " 10_9"		) !== -1 ||
+			    ua.indexOf( " 10.8"		) !== -1 ||
+			    ua.indexOf( " 10_8"		) !== -1 ||
+			    ua.indexOf( " 10.7"		) !== -1 ||
+			    ua.indexOf( " 10_7"		) !== -1 ) {	DL.UI_PLATFORM		= "OS X 64-bit (x86-64) (DMG)";
 									DL.PLATFORM		= "mac64";
 			}
 		} 



Mime
View raw message