Bugzilla – Attachment 146288 Details for
Bug 31407
Set focus for cursor to Currency when adding a new currency
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31407: Set focus for cursor to Currency when adding a new currency
Bug-31407-Set-focus-for-cursor-to-Currency-when-ad.patch (text/plain), 1.74 KB, created by
Lucas Gass (lukeg)
on 2023-02-06 16:14:34 UTC
(
hide
)
Description:
Bug 31407: Set focus for cursor to Currency when adding a new currency
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2023-02-06 16:14:34 UTC
Size:
1.74 KB
patch
obsolete
>From bebcc43ed0d77ea125a0937e2d1916bcc7994b88 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Sat, 4 Feb 2023 23:58:05 +0000 >Subject: [PATCH] Bug 31407: Set focus for cursor to Currency when adding a new > currency > >This makes sure that the focus is on the first field of the >form when adding a new currency. > >To test: >* Go to administration > currencies >* Add a new currency >* Verify the focus is not on the form >* Apply patch >* Repeat, verify the focus is now on the first input "currency" > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >index 7719d10fac1..1d778e0ad87 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt >@@ -116,7 +116,7 @@ > <input type="hidden" name="currency_code" id="currency" value="[% currency.currency | html %]" />[% currency.currency | html %] > [% ELSE %] > <label for="currency_code" class="required">Currency: </label> >- <input type="text" name="currency_code" id="currency_code" size="50" maxlength="50" required="required" class="required" /> <span class="required">Required</span> >+ <input type="text" name="currency_code" id="currency_code" class="focus" size="50" maxlength="50" required="required" class="required" /> <span class="required">Required</span> > [% END %] > </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 31407
:
146178
|
146269
| 146288