openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r1022195 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/ content/download/download.js
Date Wed, 13 Dec 2017 20:48:26 GMT
Author: buildbot
Date: Wed Dec 13 20:48:26 2017
New Revision: 1022195

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 Wed Dec 13 20:48:26 2017
@@ -1 +1 @@
-1817858
+1818063

Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Dec 13 20:48:26 2017
@@ -1 +1 @@
-1817858
+1818063

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 Wed Dec 13 20:48:26 2017
@@ -397,9 +397,15 @@ DL.setLanguageSelection = function() {
 		}
 	}
 
+	// If the selected language is already the first in the select box and LANG_ISO === "ast"
is also true,
+	// use "ast" as language.
+	if( selection.selectedIndex === 0 && DL.LANG_ISO === "ast" ) {
+		// Leave "ast" as selected language and don't change this.
+		// Empty by intention.
+
+	} else if( selection.selectedIndex === 0 ) {
 	// If no selected language was set in the select box because it was not recognized from
browser data,
 	// assign "en-US" as default.
-	if( selection.selectedIndex === 0 ) {
 		// Default: Assign "en-US".
 		for( var i = 0, j = DL.SEL_LANG.length; i < j; i = i + 2 ) {
 			// If the language was found, set it as pre-selected.



Mime
View raw message