Bugzilla – Attachment 115344 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: Sets cursor to focus credit type code when creating new type.
Bug-27458-Sets-cursor-to-focus-credit-type-code-wh.patch (text/plain), 1.29 KB, created by
Amy King
on 2021-01-19 20:19:19 UTC
(
hide
)
Description:
Bug 27458: Sets cursor to focus credit type code when creating new type.
Filename:
MIME Type:
Creator:
Amy King
Created:
2021-01-19 20:19:19 UTC
Size:
1.29 KB
patch
obsolete
>From 46d3af0a9cda7b7fd0a6cc428bbff19ae9afe6e9 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: Sets cursor to focus 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