Modify

Opened 7 years ago

Closed 4 years ago

#2544 closed enhancement (wontfix)

Initial focus on login page should be user input field

Reported by: bwolfe Owned by: mgood
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 4 years ago by hasienda

  • 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 4 years ago by anonymous

  • Resolution set to wontfix
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.