Bugzilla – Attachment 115347 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.43 KB, created by
Ella
on 2021-01-19 20:23: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:
Ella
Created:
2021-01-19 20:23:09 UTC
Size:
1.43 KB
patch
obsolete
>From 8523caf09f05dd6179f4794a09dcf116f96e65df 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 >--- > koha-tmpl/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 227daf7137..d1de7f1903 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 >@@ -303,6 +303,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.11.0
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