Bug 31397: Set focus in first input when adding a new bibliographic framework
When adding a new bibliographic framework, the focus/cursor should be in the first input field of the form: Framework code To test: * Add a new bibliographic framework from adminsitration > bibliographic MARC frameworks - cursur is in no field * Apply patch * Add another new framework - cursor is now in the first input field of the form: Framework code https://bugs.koha-community.org/show_bug.cgi?id=27191 Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
11514e6fd2
commit
a3ad2da8a6
|
|
@ -117,7 +117,7 @@ MARC frameworks › Administration › Koha
|
|||
[% ELSE %]
|
||||
<li>
|
||||
<label for="frameworkcode" class="required">Framework code: </label>
|
||||
<input type="text" id="frameworkcode" name="frameworkcode" size="4" maxlength="4" required="required" class="required" />
|
||||
<input type="text" id="frameworkcode" name="frameworkcode" size="4" maxlength="4" required="required" class="required focus" />
|
||||
<span class="required">Required</span>
|
||||
</li>
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue