Bugzilla – Attachment 115360 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.26 KB, created by
Ella
on 2021-01-19 20:52:34 UTC
(
hide
)
Description:
Bug 27195: Set focus for cursor to city input box when creating new cities
Filename:
MIME Type:
Creator:
Ella
Created:
2021-01-19 20:52:34 UTC
Size:
1.26 KB
patch
obsolete
>From 282d1f1901b9cab01f8ca58fc714b5865be9b6d4 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 >--- > 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.11.0
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