Bugzilla – Attachment 58566 Details for
Bug 17812
Return focus to barcode field after toggling on-site checkouts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17812 - Return focus to barcode field after toggling on-site checkouts
Bug-17812---Return-focus-to-barcode-field-after-to.patch (text/plain), 1.30 KB, created by
Owen Leonard
on 2017-01-03 15:15:24 UTC
(
hide
)
Description:
Bug 17812 - Return focus to barcode field after toggling on-site checkouts
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2017-01-03 15:15:24 UTC
Size:
1.30 KB
patch
obsolete
>From 3237f808258971db8f2b5b36b2431a5bbb4e5f5f Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 3 Jan 2017 15:08:32 +0000 >Subject: [PATCH] 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 the "on-site checkouts" box the cursor focus is automatically >moved to the barcode field. > >To test, apply the patch and enable the OnSiteCheckouts system >preference. > >- Open any patron account in circulation. >- Expand the "Checkout settings" panel. >- Click the "On-site checkout" label or checkbox. >- Confirm that the focus has moved to the barcode field. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >index 1444f2d..d5a0809 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt >@@ -108,6 +108,7 @@ $(document).ready(function() { > toggle_onsite_checkout(); > $("#onsite_checkout").click(function(){ > toggle_onsite_checkout(); >+ $("#barcode").focus(); > }); > > $("#suspend_until").datepicker({ >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17812
:
58566
|
58651
|
63038
|
63136
|
63145
|
63213