]> 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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 14 May 2017 09:21:16 +0000 (11:21 +0200)
commit5fc5f28fba0a6c94b0a54dda92d2c8bda830bacb
tree041c94950909016f3fe05168ba6709e4ff9eccf5
parentb1b3ad36c4f1577584a4ece49987c9ec91f29805
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>
(cherry picked from commit d16bcb70e7066b6e4c908f560affb281018e788e)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/js/pages/circulation.js