Browse Source

Bug 26712: Set focus for cursor to basket name input box on basketheader.pl

This patch adds the "focus" class to the basket name field in the form
for creating a new basket in acquisitions.

To test, apply the patch and go to Acquisitions -> Vendor -> New basket.

 - Upon page load the cursor should be focused on the basket name field.
 - The same should be true if you edit an existing basket.

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
20.11.x
Owen Leonard 11 months ago
committed by Jonathan Druart
parent
commit
74aba6abb5
  1. 2
      koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt

2
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt

@ -50,7 +50,7 @@
[% END %]
<li>
<label for="basketname" class="required">Basket name: </label>
<input type="text" name="basketname" id="basketname" size="40" maxlength="80" value="[% basketname | html %]" required="required" class="required" />
<input type="text" name="basketname" id="basketname" size="40" maxlength="80" value="[% basketname | html %]" required="required" class="focus required" />
<span class="required">Required</span>
</li>
<li>

Loading…
Cancel
Save