Author: tal
Date: Wed May 14 07:15:18 2014
New Revision: 1594495
URL: http://svn.apache.org/r1594495
Log:
/test-he languages select tests.
Modified:
openoffice/ooo-site/trunk/content/test-he/index.html
Modified: openoffice/ooo-site/trunk/content/test-he/index.html
URL:
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/test-he/index.html?rev=1594495&r1=1594494&r2=1594495&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/content/test-he/index.html (original)
+++ openoffice/ooo-site/trunk/content/test-he/index.html Wed May 14 07:15:18
2014
@@ -88,6 +88,17 @@
<option value="vi">Vietnamese</option>
<option value="cy">Welsh</option>
</select>
+ <script>
+ var lang = "he";
+ var dropdown = document.getElementById('selectlanguage');
+ var options = sel.options;
+ for(var i=0; i<dropdown.options.length; i++) {
+ if(dropdown.options[i].value == lang) {
+ dropdown.selectedIndex = i;
+ break;
+ }
+ }
+ </script>
</div>
<div id="actionstatements">
<ul>