Bugzilla – Attachment 139422 Details for
Bug 27195
Set focus for cursor to city input box when creating new cities
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27195: Set focus on first input when adding a new city
Bug-27195-Set-focus-on-first-input-when-adding-a-n.patch (text/plain), 1.68 KB, created by
ByWater Sandboxes
on 2022-08-18 20:37:44 UTC
(
hide
)
Description:
Bug 27195: Set focus on first input when adding a new city
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2022-08-18 20:37:44 UTC
Size:
1.68 KB
patch
obsolete
>From 33c195c1d007effaeb7b118ecf5aebc212c2898b Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Thu, 18 Aug 2022 19:55:17 +0000 >Subject: [PATCH] Bug 27195: Set focus on first input when adding a new city > >When adding a new city, the focus/cursor should be >in the first input field of the form: City > >To test: >* Add a new city in administration > cities > - cursur is in no field >* Apply patch >* Add another new city > - cursor is now in the first input field of the form: City > >https://bugs.koha-community.org/show_bug.cgi?id=27193 > >Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt >index 032f6fe9cb..dfa648019a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt >@@ -111,7 +111,7 @@ > [% END %] > <li> > <label for="city_name" class="required">City: </label> >- <input type="text" name="city_name" id="city_name" size="80" maxlength="100" value="[% city.city_name | html %]" required="required" class="required" /> <span class="required">Required</span> >+ <input type="text" name="city_name" id="city_name" size="80" maxlength="100" value="[% city.city_name | html %]" required="required" class="required focus" /> <span class="required">Required</span> > </li> > <li> > <label for="city_state">State: </label> >-- >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 27195
:
115264
|
115350
|
115355
|
115360
|
115365
|
115615
|
139418
|
139422
|
140732