Author: marcus
Date: Tue Aug 27 18:07:52 2013
New Revision: 1517902

URL: http://svn.apache.org/r1517902
Log:
Update

Modified:
    openoffice/ooo-site/trunk/content/download/test/download.js

Modified: openoffice/ooo-site/trunk/content/download/test/download.js
URL: 
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/download.js?rev=1517902&r1=1517901&r2=1517902&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/download.js (original)
+++ openoffice/ooo-site/trunk/content/download/test/download.js Tue Aug 27 
18:07:52 2013
@@ -29,7 +29,7 @@ var CHECKSUM_SHA256                   = "";
 var ERROR                              = false;
 
 /*
- * Initialize the download script
+ * Initialize the download script and set all global variables with data
  */
 function initializeDL() {
        getLanguage();
@@ -233,7 +233,7 @@ function getPlatform() {
               ua.indexOf( "ipad"               ) != -1 ||
               ua.indexOf( "ipod"               ) != -1 )       UI_PLATFORM     
= "Apple iPhone/iPad/iPod";
          if ( ua.indexOf( "android"            ) != -1 ||
-              av.indexOf( "android"            ) != -1 )       UI_PLATFORM     
= "Android mobile devices";     
+              av.indexOf( "android"            ) != -1 )       UI_PLATFORM     
= "Android mobile devices";
          if ( ua.indexOf( "blackberry"         ) != -1 )       UI_PLATFORM     
= "Blackberry smartphones";
          if ( ua.indexOf( "nokia"              ) != -1 )       UI_PLATFORM     
= "Nokia mobile devices";
          if ( ua.indexOf( "symbian"            ) != -1 )       UI_PLATFORM     
= "mobile phones with Symbian OS";
@@ -267,7 +267,7 @@ function getPlatform() {
                 ua.indexOf( "mobile"           ) != -1 )       UI_PLATFORM     
= "Windows Mobile device";
          }
 
-         // Linux?
+         // Linux, x86 or x86_64, DEB or RPM?
          if ( os.indexOf( "linux"              ) != -1 ) {
            // 32-bit, DEB or RPM?
            if ( os.indexOf( "x86"              ) != -1 ||


Reply via email to