You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by bu...@apache.org on 2014/05/31 14:19:14 UTC
svn commit: r910687 - in /websites/staging/ooo-site/trunk: cgi-bin/ content/
content/download/test/download_droplist.js
Author: buildbot
Date: Sat May 31 12:19:14 2014
New Revision: 910687
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 Sat May 31 12:19:14 2014
@@ -1 +1 @@
-1598863
+1598865
Propchange: websites/staging/ooo-site/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sat May 31 12:19:14 2014
@@ -1 +1 @@
-1598863
+1598865
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 Sat May 31 12:19:14 2014
@@ -14,7 +14,7 @@
* function setLangSel ()
* function setVerSel ()
* function getTypeSel ()
- * function resetSel ()
+ * function resetElements ()
* function showWindow ( target_url )
* function showErrorMessage ( error_text )
* function isLangSupported ()
@@ -612,7 +612,7 @@ function getOSSel() {
URL_PLATFORM = "";
EXTENSION = "";
sel_os.selectedIndex = 0;
- resetSel();
+ resetElements();
return;
}
*/
@@ -677,7 +677,7 @@ function getLangSel() {
if( lang_value == "e0" || lang_value == "e1" ) {
LANG_SEL = "";
sel_lang.selectedIndex = 0;
- resetSel();
+ resetElements();
return;
}
*/
@@ -728,7 +728,7 @@ function getVerSel() {
if( ver_value == "e0" || ver_value == "e1" ) {
VERSION_SEL = "";
sel_ver.selectedIndex = 0;
- resetSel();
+ resetElements();
return;
}
*/
@@ -772,7 +772,7 @@ function getTypeSel() {
/*
* Set CSS style for all elements with ID to make them invisible
*/
-function resetSel() {
+function resetElements() {
// var elements = document.getElementsByTagName( "select" );
/*
// Set the first option as default for all <select> elements.
@@ -909,9 +909,8 @@ function resetSel() {
*/
function showWindow( target_link ) {
// Open a popup window with specific parameters to show the file from "target_link".
- window = window.open( target_link, "_blank", \
- "location=no, menubar=no, resizable=yes, scrollbars=yes, status=no, titlebar=no, toolbar=no, \
- left=100, top=250, width=800, height=550");
+ window = window.open( target_link, "_blank", "location=no, menubar=no, resizable=yes, scrollbars=yes, status=no, \
+ titlebar=no, toolbar=no, left=100, top=250, width=800, height=550");
window.focus();
/*
alert( ""
@@ -929,7 +928,7 @@ function showErrorMessage( error_text )
// The chosen items from select boxes lead to no download link, show an error message about reason and alternative.
// In general, reset the data for link, text and title of all elements.
- resetSel();
+ resetElements();
// Now set again the values for all elements that should be shown with changed data.
document.getElementById( "dl_f_link" ).style.display = "inline";
@@ -1192,7 +1191,7 @@ function getLinkSel( rel_mode ) {
/* if( PLATFORM_SEL == "" || LANG_SEL == "" || VERSION_SEL == "" ) {
// When OS or language was not chosen, let the user choose again.
// When OS, language or version was not chosen, let the user choose again.
- // resetSel();
+ // resetElements();
return;
}