Bugzilla – Attachment 115366 Details for
Bug 27193
Set focus for cursor to patron attribute type code input box when creating new patron attributes
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.44 KB, created by
PTFS Europe Sandboxes
on 2021-01-19 21:48:38 UTC
(
hide
)
Description:
Bug 27195: Set focus for cursor to city input box when creating new cities
Filename:
MIME Type:
Creator:
PTFS Europe Sandboxes
Created:
2021-01-19 21:48:38 UTC
Size:
1.44 KB
patch
obsolete
>From 375a9974595e7bf48f5a9e821810bb20af9fd578 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: Barbara Johnson <barbara.johnson@bedfordtx.gov> > >https://bugs.koha-community.org/show_bug.cgi?id=27193 >--- > 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 27193
:
115274
|
115347
|
115366
|
115367
|
115616
|
139416
|
139424
|
140158