You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ma...@apache.org on 2014/05/20 22:45:27 UTC

svn commit: r1596404 - /openoffice/ooo-site/trunk/content/download/test/download_droplist.js

Author: marcus
Date: Tue May 20 20:45:27 2014
New Revision: 1596404

URL: http://svn.apache.org/r1596404
Log:
Deleted the 'if' conditions to check for the first 2 items of the select boxes

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

Modified: openoffice/ooo-site/trunk/content/download/test/download_droplist.js
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/test/download_droplist.js?rev=1596404&r1=1596403&r2=1596404&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/download_droplist.js (original)
+++ openoffice/ooo-site/trunk/content/download/test/download_droplist.js Tue May 20 20:45:27 2014
@@ -609,7 +609,7 @@ function getOSSel() {
 	+ "" );
 */
 //	alertDbg( "getOSSel() : Before if + for" );
-
+/*
 	// If one of the first 2 <select> elements was chosen, let the user chose again.
 	if( os_value == "e0" || os_value == "e1" ) {
 		PLATFORM_SEL		= "";
@@ -620,6 +620,7 @@ function getOSSel() {
 		resetSel();
 		return;
 	}
+*/
 	// Search through the <select> element until the chosen OS is found.
 	for( i = 0; i < SEL_OS.length; i = i + 3 ) {
 		if( SEL_OS[ i ] == os_value ) {
@@ -676,7 +677,7 @@ function getLangSel() {
 	+ "" );
 */
 //	alertDbg( "getLangSel() : Before if + for" );
-
+/*
 	// If one of the first 2 <select> elements was chosen, let the user chose again.
 	if( lang_value == "e0" || lang_value == "e1" ) {
 		LANG_SEL = "";
@@ -684,6 +685,7 @@ function getLangSel() {
 		resetSel();
 		return;
 	}
+*/
 	// Search through the <select> element until the chosen language is found.
 	for( i = 0; i < SEL_LANG.length; i = i + 2 ) {
 		if( SEL_LANG[ i ] == lang_value ) {
@@ -725,7 +727,7 @@ function getVerSel() {
 	var sel_ver   = document.getElementById( "ver" );
 	var ver_value = document.download.ver.options[document.download.ver.selectedIndex].value;
 	var i         = 0;
-
+/*
 	// If one of the first 2 <select> elements was chosen, let the user chose again.
 	if( ver_value == "e0" || ver_value == "e1" ) {
 		VERSION_SEL = "";
@@ -733,6 +735,7 @@ function getVerSel() {
 		resetSel();
 		return;
 	}
+*/
 	// Search through the <select> element until the chosen version is found.
 	for( i = 0; i < SEL_VER.length; i = i + 2 ) {
 		if( SEL_VER[ i ] == ver_value ) {
@@ -1165,7 +1168,7 @@ function getLinkSel( rel_mode ) {
 		document.getElementById( "dl_chk_verify" ).title	= "How to verify the download with checksums?";
 		document.getElementById( "dl_lp_hl" ).text		= "Language pack: ";
 		document.getElementById( "dl_lp_size_hl" ).text		= "Filesize ~ ";
-		document.getElementById( "dl_lp_size" ).text		= FILESIZE_LP   + " MByte";
+		document.getElementById( "dl_lp_size" ).text		= FILESIZE_LP + " MByte";
 		document.getElementById( "space6" ).text		= " | ";
 		document.getElementById( "dl_lp_chk_hl" ).text		= "Signatures and hashes: ";
 		document.getElementById( "dl_lp_chk_keys" ).href	= LINK_CHECKSUM_KEYS;