Bugzilla – Attachment 115350 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 (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 con
Bug-27195-Set-focus-for-cursor-to-city-input-box-w.patch (text/plain), 1.40 KB, created by
Ella
on 2021-01-19 20:29:08 UTC
(
hide
)
Description:
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 con
Filename:
MIME Type:
Creator:
Ella
Created:
2021-01-19 20:29:08 UTC
Size:
1.40 KB
patch
obsolete
>From 17557318ab73378c3698f2a5be25ea79d5cbb0dd 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 | 4 ++++ > 1 file changed, 4 insertions(+) > >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..2b6ed7e3c5 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,8 @@ > [% 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 = { >@@ -231,6 +233,8 @@ > ] > }); > }); >+ >+ > </script> > [% END %] > [% INCLUDE 'intranet-bottom.inc' %] >-- >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