]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 8 May 2017 13:17:38 +0000 (09:17 -0400)
commitd16bcb70e7066b6e4c908f560affb281018e788e
tree9e05f3961598059e991921076b2664e6f5507a0b
parenta900a434d50ae232af81c74c98020af3f13bf0e5
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: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/js/pages/circulation.js