Author: buildbot
Date: Sat Jul 12 20:38:45 2014
New Revision: 915979

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.js

Propchange: websites/staging/ooo-site/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jul 12 20:38:45 2014
@@ -1 +1 @@
-1610042
+1610043

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat Jul 12 20:38:45 2014
@@ -1 +1 @@
-1610042
+1610043

Modified: websites/staging/ooo-site/trunk/content/download/test/download.js
==============================================================================
--- websites/staging/ooo-site/trunk/content/download/test/download.js (original)
+++ websites/staging/ooo-site/trunk/content/download/test/download.js Sat Jul 
12 20:38:45 2014
@@ -382,10 +382,10 @@ DL.setLanguageSelection = function() {
        var found     = false;
 
        // Set the recognized browser language as default for the select box.
-       for( var i = 0, j = DL.SEL_LANG.length; i < j; i = i + 2 ) {
+       for( var i = 0, j = DL.SEL_LANG.length; i < j; i = i + 3 ) {
                // If the language was found, set it as pre-selected.
                if( DL.SEL_LANG[ i ] === DL.LANG_ISO ) {
-                       selection.selectedIndex = i / 2;
+                       selection.selectedIndex = i / 3;
                        found = true;
                        break;
                }
@@ -475,7 +475,7 @@ DL.getLanguageSelection = function() {
        var language_value = document[ "download" ][ "language" ].options[ 
document[ "download" ][ "language" ].selectedIndex ].value;
 
        // Search through the <select> element until the chosen language is 
found.
-       for( var i = 0, j = DL.SEL_LANG.length; i < j; i = i + 2 ) {
+       for( var i = 0, j = DL.SEL_LANG.length; i < j; i = i + 3 ) {
                if( DL.SEL_LANG[ i ] === language_value ) {
                        DL.LANG_SEL = language_value;
                        break;


Reply via email to