Bugzilla – Attachment 115354 Details for
Bug 27457
Set focus for cursor to Debit type code field when creating new debit type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27457: Set focus for cursor to Debit type code field
Bug-27457-Set-focus-for-cursor-to-Debit-type-code-.patch (text/plain), 1.24 KB, created by
Catherine
on 2021-01-19 20:42:36 UTC
(
hide
)
Description:
Bug 27457: Set focus for cursor to Debit type code field
Filename:
MIME Type:
Creator:
Catherine
Created:
2021-01-19 20:42:36 UTC
Size:
1.24 KB
patch
obsolete
>From 0cb5f730b6ba3797ffa86dd76f7325449cb6680d Mon Sep 17 00:00:00 2001 >From: Catherine Ma <catherinem2003@gmail.com> >Date: Tue, 19 Jan 2021 01:08:28 +0000 >Subject: [PATCH] Bug 27457: Set focus for cursor to Debit type code field > >Test Plan: >1.Click administration >2.Click debit types >3.Click new debit type >4.Check if the cursor is in the first form field (it shouldn't) >5.Add patch >6.Repeat steps 1-3 >7.Check if the cursor is in the first form field (it should) > >Sponsored by Catalyst IT >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt >index 736a1815be..c291c43041 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt >@@ -210,6 +210,9 @@ > > <script> > $(document).ready(function() { >+ >+ $("#code").focus(); >+ > var txtActivefilter = _("Filter system debit types"); > var txtInactivefilter = _("Show all debit types"); > var table_debit_types = $("#table_debit_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 27457
:
115272
|
115273
|
115346
|
115353
|
115354
|
115461
|
115478
|
115518