subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmpil...@apache.org
Subject svn commit: r903360 - /subversion/site/publish/packages.html
Date Tue, 26 Jan 2010 18:40:44 GMT
Author: cmpilato
Date: Tue Jan 26 18:40:44 2010
New Revision: 903360

URL: http://svn.apache.org/viewvc?rev=903360&view=rev
Log:
* site/publish/packages.html
  Don't show a default OS in the drop-down combo box.

Modified:
    subversion/site/publish/packages.html

Modified: subversion/site/publish/packages.html
URL: http://svn.apache.org/viewvc/subversion/site/publish/packages.html?rev=903360&r1=903359&r2=903360&view=diff
==============================================================================
--- subversion/site/publish/packages.html (original)
+++ subversion/site/publish/packages.html Tue Jan 26 18:40:44 2010
@@ -27,7 +27,10 @@
 <form action="" style="display: inline;">
 <p>Find packages for your operating system:
 <select name="packages" id="package_select"
-        onchange="document.location = document.location.pathname + '#' + (document.getElementById('package_select').value);">
+        onchange="var packval=document.getElementById('package_select').value;if
+                  (packval != '---'){document.location = document.location.pathname
+                  +'#'+packval};">
+  <option value="---" selected="selected">-- Chose an operating system --</option>
   <option value="aix">AIX</option>
   <option value="debian">Debian Linux</option>
   <option value="fedora">Fedora Linux</option>



Mime
View raw message