Bugzilla – Attachment 115273 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 cursor focus to debit type code field when creating new debit type
Bug-27457-Set-cursor-focus-to-debit-type-code-fiel.patch (text/plain), 1.23 KB, created by
Mazen Khallaf
on 2021-01-19 01:25:40 UTC
(
hide
)
Description:
Bug 27457: Set cursor focus to debit type code field when creating new debit type
Filename:
MIME Type:
Creator:
Mazen Khallaf
Created:
2021-01-19 01:25:40 UTC
Size:
1.23 KB
patch
obsolete
>From 5d08c839c25600ec9edec8564c900cb2027a6bff Mon Sep 17 00:00:00 2001 >From: Mazen Khallaf <mazen.i.khallaf@gamil.com> >Date: Tue, 19 Jan 2021 01:14:18 +0000 >Subject: [PATCH] Bug 27457: Set cursor focus to debit type code field when > creating new debit type > >Test Plan: >1. Go to Administration >2. Go to Debit Types >3. Go to New Debit Type (Cursor shouldn't focus on 'Debit Type Code') >5. Apply Patch >6. Repeat steps 1-3 (Cursor should automatically focus on the 'Debit > Type Code' field) >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt | 1 + > 1 file changed, 1 insertion(+) > >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..86c0e9c001 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,7 @@ > > <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