focus input field in otp form

This commit is contained in:
Andrew Dolgov 2012-09-04 12:08:50 +04:00
parent 02cd6de128
commit b8cdc39433
1 changed files with 3 additions and 1 deletions

View File

@ -44,7 +44,9 @@ class Auth_Internal extends Auth_Base {
<input type="password" size="6" name="otp"/>
<input type="submit" value="Continue"/>
</form>
</form>
<script type="text/javascript">
document.forms[0].otp.focus();
</script>
<?php
exit;
}