Bugzilla – Attachment 115283 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.27 KB, created by
Victoria Faafia
on 2021-01-19 02:05:40 UTC
(
hide
)
Description:
bug 27191: Set focus for cursor to category code input box when creating new patron categories
Filename:
MIME Type:
Creator:
Victoria Faafia
Created:
2021-01-19 02:05:40 UTC
Size:
1.27 KB
patch
obsolete
>From e5d55aa5fbfd3a719f3f078577651bb6c08a0f5c 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 >--- > 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 d8c338efe8..c4cfe1219d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >@@ -628,6 +628,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.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 27191
:
115283
|
115313
|
115598
|
139420
|
139423
|
139426
|
140159