Author: marcus
Date: Tue Jun 3 22:44:16 2014
New Revision: 1599829
URL: http://svn.apache.org/r1599829
Log:
Set the 'autofocus' attribute to the 'full install' download text button
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=1599829&r1=1599828&r2=1599829&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 22:44:16 2014
@@ -1335,10 +1335,11 @@ function getLinkSel() {
SF = true;
ERROR = false;
- // Set the values for both download text buttons.
+ // Set the values for both download text buttons and set the
focus to the "full install".
document.getElementById( "dl_f_link" ).href =
LINK_FULL;
document.getElementById( "dl_f_link" ).innerHTML =
"Download full installation";
document.getElementById( "dl_f_link" ).title =
"Click to download: " + FILENAME_FULL;
+ document.getElementById( "dl_f_link" ).focus()
document.getElementById( "dl_lp_link" ).href =
LINK_LP;
document.getElementById( "dl_lp_link" ).innerHTML =
"Download language pack";
document.getElementById( "dl_lp_link" ).title =
"Click to download: " + FILENAME_LP;