]> git.koha-community.org Git - koha.git/commit
Bug 17812 - Return focus to barcode field after toggling on-site checkouts
authorOwen Leonard <oleonard@myacpl.org>
Tue, 3 Jan 2017 15:08:32 +0000 (15:08 +0000)
committerMason James <mtj@kohaaloha.com>
Wed, 24 May 2017 02:26:22 +0000 (14:26 +1200)
commit1e1cf2702f2d13cec1d21f7fe5df706d3e988aac
tree817e560fc382ff6f7f40bed18ae1b9eaa9462ed1
parent63866d4b315d74593983a3da32a5c8d5f0c80b85
Bug 17812 - Return focus to barcode field after toggling on-site checkouts

This patch changes the behavior of the checkout form so that after
checking boxes in the "checkout settings" panel the cursor focus is
automatically moved to the barcode field.

To test, apply the patch and enable OnSiteCheckouts and
decreaseLoanHighHolds system preferences.

- Open any patron account in circulation.
- Expand the "Checkout settings" panel.
- Click the label or checkbox for "Automatic renewal", "Don't
  decrease checkout length based on holds" and "On-site checkout"
- Confirm that the focus has moved to the barcode field.

Works as advertised.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Marjorie Barry-Vila <marjorie.barry-vila@ccsr.qc.ca>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/js/pages/circulation.js