Bug 27191: Set focus on first input when adding a new patron category
When adding a new patron category, the focus/cursor should be in the first input field of the form: Category code To test: * Add a new patron category in administration > patron categories - cursur is in no field * Apply patch * Add another new patron category - cursor is now in the first input field of the form: Category code Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
4d772a8fe0
commit
41b2f087ef
|
|
@ -149,7 +149,7 @@
|
|||
[% ELSE %]
|
||||
<li>
|
||||
<label for="categorycode" class="required">Category code: </label>
|
||||
<input type="text" name="categorycode" id="categorycode" size="10" maxlength="10" class="required" required="required" />
|
||||
<input type="text" name="categorycode" id="categorycode" size="10" maxlength="10" class="required focus" required="required" />
|
||||
<span class="required">Required</span>
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue