Bugzilla – Attachment 164866 Details for
Bug 32420
Set focus for cursor to barcode input box in batch item modification
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32420: (follow-up) Set focus for cursor to barcode input box in batch item modification
Bug-32420-Set-focus-for-cursor-to-barcode-input-bo.patch (text/plain), 1.96 KB, created by
Paul Derscheid
on 2024-04-13 12:30:24 UTC
(
hide
)
Description:
Bug 32420: (follow-up) Set focus for cursor to barcode input box in batch item modification
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2024-04-13 12:30:24 UTC
Size:
1.96 KB
patch
obsolete
>From 421cf20c51c52ee6337729a115c3940cd04d79e2 Mon Sep 17 00:00:00 2001 >From: Paul Derscheid <paul.derscheid@lmscloud.de> >Date: Sat, 13 Apr 2024 14:23:08 +0200 >Subject: [PATCH] Bug 32420: Set focus for cursor to barcode input box in batch > item modification > >Patch now uses cait's suggestion: the `focus` class. > >To test: >1. Go to Cataloging > Batch item modification >2. Check that the barcodelist textarea isn't focused by default. >3. Apply patch. >4. Go to Cataloging > Batch item modification >5. Check that the barcodelist textarea is now selected by default in >the 'batch item modification' as well as the 'batch item deletion' view. >--- > .../intranet-tmpl/prog/en/modules/tools/batchMod.tt | 10 +--------- > 1 file changed, 1 insertion(+), 9 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt >index 11093bd3e9..03f100de1f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt >@@ -60,7 +60,7 @@ > <ol> > <li> > <label for="barcodelist">Barcode list (one barcode per line): </label> >- <textarea rows="10" cols="30" id="barcodelist" name="barcodelist"></textarea> >+ <textarea class="focus" rows="10" cols="30" id="barcodelist" name="barcodelist"></textarea> > </li> > </ol> > </fieldset> >@@ -97,12 +97,4 @@ > </div> <!-- /.col-sm-2.col-sm-pull-10 --> > </div> <!-- /.row --> > >-[% MACRO jsinclude BLOCK %] >- <script> >- $(document).ready(function() { >- var barcodelist = document.getElementById('barcodelist'); >- barcodelist.focus(); >- }); >- </script> >-[% END %] > [% INCLUDE 'intranet-bottom.inc' %] >-- >2.44.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 32420
:
144642
|
144694
| 164866