Author: buildbot
Date: Sun Jun  1 09:44:03 2014
New Revision: 910756

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/test/download_droplist.js

Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Jun  1 09:44:03 2014
@@ -1 +1 @@
-1598959
+1598960

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Jun  1 09:44:03 2014
@@ -1 +1 @@
-1598959
+1598960

Modified: 
websites/staging/ooo-site/trunk/content/download/test/download_droplist.js
==============================================================================
--- websites/staging/ooo-site/trunk/content/download/test/download_droplist.js 
(original)
+++ websites/staging/ooo-site/trunk/content/download/test/download_droplist.js 
Sun Jun  1 09:44:03 2014
@@ -53,7 +53,6 @@ function init( a, b ) {
        
        // Get release mode and analyze mode from "index.html" respective 
"analyze.html".
        R_MODE = a;
-       A_MODE = b;
        getLinkSel();
 }
 
@@ -80,7 +79,6 @@ function initVars() {
 
        // The following are used in "download.js". and "index.html".
        R_MODE                                  = "";    // The release mode (1 
= stable release (default), 2 = beta release, etc.).
-       A_MODE                                  = "";    // The analyze mode (0 
= no debug (default), 1 = debug mode).
        LANG_ISO                                = "";    // The language as ISO 
code.
        LANG_ARRAY                              = "";    // This array contains 
all language specific data.
        UI_PLATFORM                             = "";    // The platform as 
readable string.
@@ -1178,9 +1176,6 @@ function getLinkSel() {
        // If no mode was given, assume it is the release mode (stable release).
        if( R_MODE === undefined )
                R_MODE = 1;
-       // If no mode was given, assume it is not the analyze mode (used for 
"analyze.html").
-       if( A_MODE === undefined )
-               A_MODE = false;
 
        // Get the selected data from the select boxes.
        getOSSel();
@@ -1363,6 +1358,9 @@ function getLinkSel() {
                document.getElementById( "dl_rpt_img"       ).src       = 
"../cachedimages/help-report-broken-link-icon.png";
                document.getElementById( "dl_rpt_img"       ).title     = 
"Broken download link? Click here to report.";
                document.getElementById( "dl_rpt_img"       ).alt       = 
"Broken link";
+               document.getElementById( "dl_rpt"           ).href      = 
"analyze_droplist.html";
+               document.getElementById( "dl_rpt"           ).innerHTML = 
"Report broken link";
+               document.getElementById( "dl_rpt"           ).title     = 
"Broken download link? Click here to report.";
 
                // Reset the CSS styles for the elements in the sub-green 
colored boxes.
                document.getElementById( "sub_green_box"    ).style.background 
= "#E9FEBE";             // LightGreen
@@ -1392,25 +1390,6 @@ function getLinkSel() {
                document.getElementById( "dl_chk"           ).style.cursor = 
"help";
                document.getElementById( "dl_rpt_img"       ).style.cursor = 
"help";
                document.getElementById( "dl_rpt"           ).style.cursor = 
"help";
-
-               // Set different values depending if in analyze mode or not
-               if( A_MODE === false ) {
-                       document.getElementById( "dl_rpt"   ).href      = 
"analyze_droplist.html";
-                       document.getElementById( "dl_rpt"   ).innerHTML = 
"Report broken link";
-                       document.getElementById( "dl_rpt"   ).title     = 
"Broken download link? Click here to report.";
-               } else {
-
-                       for( var i = 0, j = element_ids_sub_green.length; i < 
j; i++ ) {
-                               document.getElementById( element_ids_sub_green[ 
i ] ).style.display = "none";
-                       }
-
-                       document.getElementById( "dl_rpt"     ).style.fontSize 
= "1.6em";
-                       document.getElementById( "dl_rpt"     ).href           
= "javascript:void( 0 )";
-                       document.getElementById( "dl_rpt"     ).innerHTML      
= "<b>Select your favorite options and click to update the table below</b>";
-                       document.getElementById( "dl_rpt"     ).title          
= "Update the values in the table below.";
-                       document.getElementById( "dl_rpt_img" ).style.display  
= "none";
-                       document.getElementById( "dl_rpt"     ).style.display  
= "inline-block";
-               }
        }
 
 //     alertDbg( "getLinkSel(): End" );


Reply via email to