Bugzilla – Attachment 115616 Details for
Bug 27193
Set focus for cursor to patron attribute type code input box when creating new patron attributes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27193: Set focus for cursor to patron attribute type code input box when creating new patron attributes
Bug-27193-Set-focus-for-cursor-to-patron-attribute.patch (text/plain), 1.56 KB, created by
Kyle M Hall (khall)
on 2021-01-21 19:58:09 UTC
(
hide
)
Description:
Bug 27193: Set focus for cursor to patron attribute type code input box when creating new patron attributes
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2021-01-21 19:58:09 UTC
Size:
1.56 KB
patch
obsolete
>From 42df2be65315a9404896acb7e40370530e6d4a0f Mon Sep 17 00:00:00 2001 >From: Ella Wipatene <ellawipatene@gmail.com> >Date: Tue, 19 Jan 2021 01:23:17 +0000 >Subject: [PATCH] Bug 27193: Set focus for cursor to patron attribute type code > input box when creating new patron attributes > >1. (Before attaching the patch) Go into administration >2. Go to Patron attribute types - then 'New patron attribute type' >3. Without the patch, the cursor should not automatically focus on the >first container 'Patron attribute type code' >4. Install patch >5. Redo steps 1&2 >6. If the patch worked, then the cursor should automatically focus to >the first container 'Patron attribute type code' > >Sponsored.by: Catalyst IT > >Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt >index 74bd19792c..d724bde819 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt >@@ -307,6 +307,7 @@ > [% Asset.js("js/admin-menu.js") | $raw %] > <script> > $(document).ready(function() { >+ $("#code").focus(); > if ( $("#branches option:selected").length < 1 ) { > $("#branches option:first").attr("selected", "selected"); > } >-- >2.24.1 (Apple Git-126)
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 27193
:
115274
|
115347
|
115366
|
115367
|
115616
|
139416
|
139424
|
140158