Commit 8c45266d authored by Bill Lynch's avatar Bill Lynch Committed by bill

Add ability to pass in username parameter, focus on password field if that's the case.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@905 b35dd754-fafc-0310-a699-88a17e54d16e
parent 3f7d9300
...@@ -219,7 +219,7 @@ ...@@ -219,7 +219,7 @@
<tr> <tr>
<td> <td>
<input type="text" name="username" size="15" maxlength="50" id="u01"> <input type="text" name="username" size="15" maxlength="50" id="u01" value="<%= (username != null ? username : "") %>">
</td> </td>
<td> <td>
<input type="password" name="password" size="15" maxlength="50" id="p01"> <input type="password" name="password" size="15" maxlength="50" id="p01">
...@@ -266,7 +266,11 @@ ...@@ -266,7 +266,11 @@
<script language="JavaScript" type="text/javascript"> <script language="JavaScript" type="text/javascript">
<!-- <!--
document.loginForm.username.focus(); if (document.loginForm.username.value == '') {
document.loginForm.username.focus();
} else {
document.loginForm.password.focus();
}
//--> //-->
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment