Bugzilla – Attachment 115276 Details for
Bug 27458
Set focus for cursor to Credit type code field when creating new credit type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27458 Focus cursor to credit type code when creating new type.
Bug-27458-Focus-cursor-to-credit-type-code-when-cr.patch (text/plain), 1.29 KB, created by
Amy King
on 2021-01-19 01:35:36 UTC
(
hide
)
Description:
Bug 27458 Focus cursor to credit type code when creating new type.
Filename:
MIME Type:
Creator:
Amy King
Created:
2021-01-19 01:35:36 UTC
Size:
1.29 KB
patch
obsolete
>From a3cc4e5da61b04629f46564e3a64bfaf3595243b Mon Sep 17 00:00:00 2001 >From: Amy King <amyking386@gmail.com> >Date: Tue, 19 Jan 2021 01:26:04 +0000 >Subject: [PATCH] Bug 27458 Focus cursor to credit type code when creating new > type. > >Test plan: >Before applying patch >1. Click on Administration >2. Scroll down to Accounting and click on Credit types >3. Click New credit type >4. Note how the cursor does not focus on Credit type code field. >5. Apply patch >6. Repeat steps 1-3 >7. Note how the cursor now focuses on Credit type code field. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/credit_types.tt | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/credit_types.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/credit_types.tt >index 0169ea25b4..1105b20225 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/credit_types.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/credit_types.tt >@@ -211,6 +211,7 @@ > > <script> > $(document).ready(function() { >+ $("#code").focus(); > var txtActivefilter = _("Filter system credit types"); > var txtInactivefilter = _("Show all credit types"); > var table_credit_types = $("#table_credit_types").dataTable($.extend(true, {}, dataTablesDefaults, { >-- >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 27458
:
115276
|
115344
|
115377
|
115459
|
115468
|
115522
|
115554