Bug 31398: Set focus on first input when adding a new authority type
When adding a new authority type the focus should be on the first field of the input form: Authority type * Add a new authority type from administration > authority types * Verify the focus is not on any of the form fields/inputs * Apply patch * Add another new authority type * Verify the focus/cursor is now in the Authority type field 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
4ea1cf6cce
commit
392ee0ff81
|
|
@ -110,7 +110,7 @@ Authority types › Administration › Koha
|
|||
[% ELSE %]
|
||||
<div class="hint">10 characters maximum</div>
|
||||
<label for="authtypecode" class="required">Authority type: </label>
|
||||
<input id="authtypecode" type="text" class="required" required="required" name="authtypecode" size="20" maxlength="10" />
|
||||
<input id="authtypecode" type="text" class="required focus" required="required" name="authtypecode" size="20" maxlength="10" />
|
||||
<span class="required">Required</span>
|
||||
[% END %]
|
||||
</li>
|
||||
|
|
|
|||
Loading…
Reference in New Issue