Bugzilla – Attachment 147363 Details for
Bug 32886
Set focus for cursor to Code when adding a new restriction
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32886: Set focus for cursor to Code when adding a new restriction
Bug-32886-Set-focus-for-cursor-to-Code-when-adding.patch (text/plain), 1.62 KB, created by
Katrin Fischer
on 2023-02-24 16:45:28 UTC
(
hide
)
Description:
Bug 32886: Set focus for cursor to Code when adding a new restriction
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-02-24 16:45:28 UTC
Size:
1.62 KB
patch
obsolete
>From 10bdd590519c2337ae0a54ddaa30c00ff0f14cf2 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 7 Feb 2023 13:40:29 +0000 >Subject: [PATCH] Bug 32886: Set focus for cursor to Code when adding a new > restriction > >This patch adds the "focus" class to the form for defining a new patron >restriction so that the cursor focus is automatically added. > >To test, apply the patch and go to Administration -> Patron restrictions >-> New restriction. > >The cursor should automatically move to the "Code" input field. > >Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> >Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt >index 5c5e6f53e4..07cee606eb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt >@@ -120,7 +120,7 @@ > [% ELSE %] > <li> > <label for="code" class="required">Code: </label> >- <input type="text" name="code" id="code" size="50" maxlength="50" class="required type_input " required="required" /> >+ <input type="text" name="code" id="code" size="50" maxlength="50" class="focus required type_input " required="required" /> > <span class="required">Required</span> > </li> > <li> >-- >2.30.2
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 32886
:
146330
|
146336
| 147363