Modify

Opened 17 years ago

Closed 14 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 14 years ago by Steffen Hoffmann

Keywords: needinfo backport added

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.

comment:2 Changed 14 years ago by anonymous

Resolution: wontfix
Status: newclosed

We are no longer using Trac, let alone version .10 of trac, so this can be ignored.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matt Good.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.