Bugzilla – Attachment 115598 Details for
Bug 27191
Set focus for cursor to category code input box when creating new patron categories
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27191: Set focus for cursor to category code input box when creating new patron categories
Bug-27191-Set-focus-for-cursor-to-category-code-in.patch (text/plain), 1.40 KB, created by
Kyle M Hall (khall)
on 2021-01-21 19:22:00 UTC
(
hide
)
Description:
Bug 27191: Set focus for cursor to category code input box when creating new patron categories
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2021-01-21 19:22:00 UTC
Size:
1.40 KB
patch
obsolete
>From 549a5db4d93037a96d4201fe1a89170161729428 Mon Sep 17 00:00:00 2001 >From: Victoria Faafia <vfaafia29@gmail.com> >Date: Tue, 19 Jan 2021 01:58:45 +0000 >Subject: [PATCH] Bug 27191: Set focus for cursor to category code input box > when creating new patron categories > >1-Go to admin>patroncategories>newcategory >2-The category code box should be green and already have the cursor inside without you clicking on it >3-Refresh page to double check the cursor automatically goes to the category code box > >Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >index f95f95991b..c9a5e72032 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >@@ -627,6 +627,11 @@ > [% INCLUDE 'columns_settings.inc' %] > <script> > var columns_settings = [% TablesSettings.GetColumns( 'admin', 'categories', 'patron_categories', 'json' ) | $raw %]; >+ >+ $(document).ready(function(){ >+ $("#categorycode").focus(); >+ }); >+ > </script> > [% Asset.js("js/categories.js") | $raw %] > [% END %] >-- >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 27191
:
115283
|
115313
|
115598
|
139420
|
139423
|
139426
|
140159