openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r1597159 - /openoffice/ooo-site/trunk/content/download/test/download_droplist.js
Date Fri, 23 May 2014 19:02:10 GMT
Author: marcus
Date: Fri May 23 19:02:10 2014
New Revision: 1597159

URL: http://svn.apache.org/r1597159
Log:
Changing attribute types of 'getElementById()' for testing

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=1597159&r1=1597158&r2=1597159&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/download/test/download_droplist.js (original)
+++ openoffice/ooo-site/trunk/content/download/test/download_droplist.js Fri May 23 19:02:10
2014
@@ -1147,13 +1147,13 @@ function getLinkSel( rel_mode ) {
 		document.getElementById( "dl_f_lnk" ).text		= "Download full install";
 		document.getElementById( "dl_f_lnk" ).title		= "Click to download: " + FILENAME_FULL;
 		document.getElementById( "dl_lp_lnk" ).href		= LINK_LP;
-		document.getElementById( "dl_lp_lnk" ).text		= "Download language pack";
+		document.getElementById( "dl_lp_lnk" ).innerText	= "Download language pack";
 		document.getElementById( "dl_lp_lnk" ).title		= "Click to download: " + FILENAME_LP;
 
 		// Set the values in the sub-green box on the left hand side.
-		document.getElementById( "dl_rel_dta_hl" ).text		= "Release data: ";
+		document.getElementById( "dl_rel_dta_hl" ).innerHTML	= "Release data: ";
 		document.getElementById( "dl_rel_dta" ).text		= rel_data;
-		document.getElementById( "dl_f_hl" ).text		= "Full installation: ";
+		document.getElementById( "dl_f_hl" ).textContent	= "Full installation: ";
 		document.getElementById( "dl_f_size_hl" ).text		= "Filesize ~ ";
 		document.getElementById( "dl_f_size" ).text		= FILESIZE_FULL + " MByte";
 		document.getElementById( "space1" ).text		= " | ";



Mime
View raw message