[Rt-commit] r3451 - in rt/branches/3.5-TESTING: . html/Elements
html/NoAuth/js
trs at bestpractical.com
trs at bestpractical.com
Sat Jul 9 14:52:31 EDT 2005
Author: trs
Date: Sat Jul 9 14:52:30 2005
New Revision: 3451
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/html/Elements/Header
rt/branches/3.5-TESTING/html/Elements/Login
rt/branches/3.5-TESTING/html/NoAuth/js/util.js
Log:
r4962 at wintermute: tom | 2005-07-09 13:25:28 -0400
Fixed focus on username field for login form
Modified: rt/branches/3.5-TESTING/html/Elements/Header
==============================================================================
--- rt/branches/3.5-TESTING/html/Elements/Header (original)
+++ rt/branches/3.5-TESTING/html/Elements/Header Sat Jul 9 14:52:30 2005
@@ -97,9 +97,7 @@
$Code => undef
$Refresh => 0
$Why => undef
-#$BgColor => '#ffffff'
$ShowBar => 1
-#$LoggedIn => 1
$URL => undef
$RSSAutoDiscovery => undef
$onload => undef
Modified: rt/branches/3.5-TESTING/html/Elements/Login
==============================================================================
--- rt/branches/3.5-TESTING/html/Elements/Login (original)
+++ rt/branches/3.5-TESTING/html/Elements/Login Sat Jul 9 14:52:30 2005
@@ -77,7 +77,7 @@
<div class="input-row">
<span class="label"><&|/l&>Username</&>:</span>
- <span class="input"><input name="user" value="<%$user%>" /></span>
+ <span class="input"><input name="user" value="<%$user%>" id="user" /></span>
</div>
<div class="input-row">
Modified: rt/branches/3.5-TESTING/html/NoAuth/js/util.js
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/js/util.js (original)
+++ rt/branches/3.5-TESTING/html/NoAuth/js/util.js Sat Jul 9 14:52:30 2005
@@ -62,8 +62,8 @@
}
function setFocus(id) {
- var tmp = (document.getElementsByName(id));
- if (tmp.length > 0) tmp[tmp.length-1].focus();
+ var e = document.getElementById(id);
+ if (e) e.focus();
}
function openCalWindow(field) {
More information about the Rt-commit
mailing list