Bugzilla – Attachment 140158 Details for
Bug 27193
Set focus for cursor to patron attribute type code input box when creating new patron attributes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27193: Set focus on first input when adding a new patron attribute
Bug-27193-Set-focus-on-first-input-when-adding-a-n.patch (text/plain), 1.67 KB, created by
Kyle M Hall (khall)
on 2022-09-02 14:40:30 UTC
(
hide
)
Description:
Bug 27193: Set focus on first input when adding a new patron attribute
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2022-09-02 14:40:30 UTC
Size:
1.67 KB
patch
obsolete
>From 40c4cb5469d8cf98b391b46799d7c7ce86c7a582 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Thu, 18 Aug 2022 19:47:20 +0000 >Subject: [PATCH] Bug 27193: Set focus on first input when adding a new patron > attribute > >When adding a new patron attribute, the focus/cursor should be >in the first input field of the form: Patron attribute type code > >To test: >* Add a new patron attribute - cursur is in no field >* Apply patch >* Add another new patron attribute - cursor is now in > the first input field: Patron attribute type code > >Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt >index 6733c3a663..a1149b9fb1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt >@@ -99,7 +99,7 @@ Patron attribute types › Administration › Koha > [% attribute_type.code |html %] > [% ELSE %] > <label for="code" class="required">Patron attribute type code: </label> >- <input type="text" id="code" name="code" required="required" class="required" size="10" maxlength="10" /> >+ <input type="text" id="code" name="code" required="required" class="required focus" size="10" maxlength="10" /> > <span class="required">Required</span> > [% END %] > </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 27193
:
115274
|
115347
|
115366
|
115367
|
115616
|
139416
|
139424
| 140158