Modify ↓
Opened 18 years ago
Closed 15 years ago
#2544 closed enhancement (wontfix)
Initial focus on login page should be user input field
| Reported by: | Ben Wolfe | Owned by: | Matt Good |
|---|---|---|---|
| Priority: | low | Component: | AccountManagerPlugin |
| Severity: | minor | Keywords: | needinfo backport |
| Cc: | Trac Release: | 0.10 |
Description
Can you essentially back port #1091 to .10 ? The username field on the login page doesn't get focus in that version either. I've modified my local checkout with this code at the end of login.cs after </form> </div>
<script type="text/javascript">
function focusOnUser() {
var elem = document.getElementById("user");
if (elem) {
elem.focus();
elem.select();
}
}
setTimeout("focusOnUser();", 50);
</script>
Thanks
Attachments (0)
Change History (2)
comment:1 Changed 15 years ago by
| Keywords: | needinfo backport added |
|---|
comment:2 Changed 15 years ago by
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
We are no longer using Trac, let alone version .10 of trac, so this can be ignored.
Note: See
TracTickets for help on using
tickets.



Sorry for the long time without any maintainer response. Is this still needed?
As you already stated, #1091 fixed this for Trac 0.11 and there are many good reasons to even move on to Trac 0.12 these days.