Login Username autofocus

Here’s a little patch that will make the username form autofocus
upon pulling up the login screen… Patched against my 2.0.9 sources…

Could this get approved and committed jesse? I know I’m not the only one
having to click on that form everytime I login…

Cassidy

*** /usr/local/src/rt-2-0-9/webrt/Elements/Header Tue Nov 6 16:06:57
2001
— Header Thu Jan 3 20:53:54 2002
*** 15,21 ****
— 15,25 ----

+ % if ($RT::WebExternalAuth) { + % } else { + + % } % if ($ShowBar) {

You’ll want to give the login form a name as well:

*** /usr/local/src/rt-2-0-9/webrt/Elements/Login Tue Nov 6 16:06:57
2001
— /usr/local/rt2/WebRT/html/Elements/Login Thu Jan 3 20:54:39 2002
*** 14,16 ****
% unless ($RT::WebExternalAuth) {
!

--- 14,16 ---- % unless ($RT::WebExternalAuth) { !

My general policy on javascript in apps is "nothing that breaks if you don’t
use javascript."
That looks reasonable. I don’t see any reason not to drop it into
what will become 2.0.12 when I get nearer to my source…

-jOn Thu, Jan 03, 2002 at 09:14:11PM -0700, Cassidy B. Larson wrote:

Here’s a little patch that will make the username form autofocus
upon pulling up the login screen… Patched against my 2.0.9 sources…

Could this get approved and committed jesse? I know I’m not the only one
having to click on that form everytime I login…

Cassidy


*** /usr/local/src/rt-2-0-9/webrt/Elements/Header Tue Nov 6 16:06:57
2001
— Header Thu Jan 3 20:53:54 2002


*** 15,21 ****
— 15,25 ----

+ % if ($RT::WebExternalAuth) { + % } else { + + % } % if ($ShowBar) {

You’ll want to give the login form a name as well:

*** /usr/local/src/rt-2-0-9/webrt/Elements/Login Tue Nov 6 16:06:57
2001
— /usr/local/rt2/WebRT/html/Elements/Login Thu Jan 3 20:54:39 2002


*** 14,16 ****
% unless ($RT::WebExternalAuth) {
!

--- 14,16 ---- % unless ($RT::WebExternalAuth) { !

rt-devel mailing list
rt-devel@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-devel

http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.