Author: marcus Date: Tue Jun 3 18:41:14 2014 New Revision: 1599741 URL: http://svn.apache.org/r1599741 Log: Fixed error: Show the download link when 'other' or 'older' was selected
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=1599741&r1=1599740&r2=1599741&view=diff ============================================================================== --- openoffice/ooo-site/trunk/content/download/test/download_droplist.js (original) +++ openoffice/ooo-site/trunk/content/download/test/download_droplist.js Tue Jun 3 18:41:14 2014 @@ -1252,10 +1252,12 @@ function getLinkSel() { LINK_FULL = "http://www.openoffice.org/porting/"; // Set the values for only one download text button. - document.getElementById( "dl_f_link" ).href = LINK_FULL; - document.getElementById( "dl_f_link" ).innerHTML = "Porting: Download from other 3rd party vendors"; - document.getElementById( "dl_f_link" ).title = "Click to browse to the porting webpage and download from other 3rd party vendors"; - document.getElementById( "dl_lp_link" ).style.display = "none"; + document.getElementById( "dl_f_link" ).href = LINK_FULL; + document.getElementById( "dl_f_link" ).innerHTML = "Porting: Download from other 3rd party vendors"; + document.getElementById( "dl_f_link" ).title = "Click to browse to the porting webpage and download from other 3rd party vendors"; + document.getElementById( "dl_f_link" ).style.display = "inline"; + document.getElementById( "dl_lp_link" ).style.display = "none"; + document.getElementById( "sub_green_box" ).style.display = "none"; return LINK_FULL; } @@ -1269,11 +1271,11 @@ function getLinkSel() { LINK_FULL = "http://www.openoffice.org/download/archive.html"; // Set the values for only one download text button. - document.getElementById( "dl_f_link" ).href = LINK_FULL; - document.getElementById( "dl_f_link" ).innerHTML = "Archive: Download from older releases"; - document.getElementById( "dl_f_link" ).title = "Click to browse to the archive and download older releases"; - document.getElementById( "dl_f_link" ).style.display = "inline"; - document.getElementById( "dl_lp_link" ).style.display = "none"; + document.getElementById( "dl_f_link" ).href = LINK_FULL; + document.getElementById( "dl_f_link" ).innerHTML = "Archive: Download from older releases"; + document.getElementById( "dl_f_link" ).title = "Click to browse to the archive and download older releases"; + document.getElementById( "dl_f_link" ).style.display = "inline"; + document.getElementById( "dl_lp_link" ).style.display = "none"; document.getElementById( "sub_green_box" ).style.display = "none"; return LINK_FULL;