Bugzilla – Attachment 139416 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.56 KB, created by
Katrin Fischer
on 2022-08-18 19:49:14 UTC
(
hide
)
Description:
Bug 27193: Set focus on first input when adding a new patron attribute
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-08-18 19:49:14 UTC
Size:
1.56 KB
patch
obsolete
>From d37851c5daf74c1aa1d93920c14205f5a34034fc 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 >--- > .../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