]> git.koha-community.org Git - koha.git/commit
Bug 13537 - Focus should move to barcode after renewing via checkouts table
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 8 Jan 2015 11:59:26 +0000 (06:59 -0500)
committerMason James <mtj@kohaaloha.com>
Thu, 22 Jan 2015 09:37:30 +0000 (22:37 +1300)
commitc8f8bdc8f2d166c7c4adf7981a651b1c001368fd
tree7e98043cbe86f57aff0df50e770f4bf71a8744dd
parentc20a7cd4dfb43dbe7556dfd165a57818cea1ca31
Bug 13537 - Focus should move to barcode after renewing via checkouts table

Koha's checkout screen automatically focuses on the barcode field each
time it is loaded. Since we've moved the checkouts table functions for
renewing and returning items to ajax methods, this page is no longer
refreshed, and thus does not refocus to the barcode after performing
those actions. This should be fixed so that renewing/returning items via
the checkouts page moves the focus to the barcode field.

Test Plan:
1) Find a patron with checkouts.
2) Renew or return a checkout, note the focus does not move to the
   barcode.
3) Apply this patch.
4) Renew or return a checkout, note the focus *does* move to the
   barcode.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Thomas <tomsStudy@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 91f67dde130c1c5c34174a588696bad1286823ad)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
koha-tmpl/intranet-tmpl/prog/en/js/checkouts.js