Bugzilla – Attachment 115615 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 for cursor to city input box when creating new cities
Bug-27195-Set-focus-for-cursor-to-city-input-box-w.patch (text/plain), 1.39 KB, created by
Kyle M Hall (khall)
on 2021-01-21 19:54:56 UTC
(
hide
)
Description:
Bug 27195: Set focus for cursor to city input box when creating new cities
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2021-01-21 19:54:56 UTC
Size:
1.39 KB
patch
obsolete
>From 6c03b2ab56502b69e308965d998cbb1364d426ba Mon Sep 17 00:00:00 2001 >From: Ella Wipatene <ellawipatene@gmail.com> >Date: Mon, 18 Jan 2021 23:50:07 +0000 >Subject: [PATCH] Bug 27195: Set focus for cursor to city input box when > creating new cities > >(Before downloading the patch) > 1. Go to administration > 2. Go to cities > 3. Click on add new city > 4. See if the cursor automatically focuses to the first city > container (It shouldn't). > 5. Apply patch > 6. Repeat steps 1-4 > 7. If the cursor automatically focuses in the first city container, > the patch has worked! > >Sponsored-by: Catalyst IT > >Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt | 1 + > 1 file changed, 1 insertion(+) > >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 618e757773..3deec88286 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt >@@ -168,6 +168,7 @@ > [% INCLUDE 'datatables.inc' %] > <script> > $(document).ready(function() { >+ $("#city_name").focus(); > var cities_table_url = '/api/v1/cities?'; > [% IF city_name_filter %] > var city_name_filter = { >-- >2.24.1 (Apple Git-126)
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