Bug 27802: Set cursor focus in first input when adding a cash register

Test plan:
1. Visit Administration > Accounting > Cash registers and notice the
cursor is not focussed in the first input field (Name)

2. Apply patch

3. Refresh the new cash registers page and confirm your cursor is
focussed in the first input field (name)

Sponsored-by: Catalyst IT, New Zealand

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Alex Buckley 2022-08-15 11:01:39 +00:00 committed by Tomas Cohen Arazi
parent 8eccff5b53
commit 11514e6fd2
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -113,7 +113,7 @@ Cash registers &rsaquo; Administration &rsaquo; Koha
<li> <li>
<label for="name" class="required">Name: </label> <label for="name" class="required">Name: </label>
<input type="text" name="name" id="name" size="24" maxlength="24" value="[% cash_register.name | html %]" class="required" /> <input type="text" name="name" id="name" size="24" maxlength="24" value="[% cash_register.name | html %]" class="required focus" />
<span class="required">Required</span> <span class="required">Required</span>
</li> </li>