Bug 32886: Set focus for cursor to Code when adding a new restriction
authorOwen Leonard <oleonard@myacpl.org>
Tue, 7 Feb 2023 13:40:29 +0000 (13:40 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 10 Mar 2023 14:15:38 +0000 (11:15 -0300)
commit546c47ab3fcd380ee3f7be5902fd969d0ebbc3a8
tree6c96555ed2e074e267031a7512457be2626f64c9
parent5c86cacfde4f4a4957148e10758ccf0a9b1b244a
Bug 32886: Set focus for cursor to Code when adding a new restriction

This patch adds the "focus" class to the form for defining a new patron
restriction so that the cursor focus is automatically added.

To test, apply the patch and go to Administration -> Patron restrictions
-> New restriction.

The cursor should automatically move to the "Code" input field.

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt