Bugzilla – Attachment 115571 Details for
Bug 27455
Add focus to branch code when a new library is added
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27355: Add focus to branch code when a new library is added
Bug-27355-Add-focus-to-branch-code-when-a-new-libr.patch (text/plain), 1.37 KB, created by
Kyle M Hall (khall)
on 2021-01-21 16:11:18 UTC
(
hide
)
Description:
Bug 27355: Add focus to branch code when a new library is added
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2021-01-21 16:11:18 UTC
Size:
1.37 KB
patch
obsolete
>From bd8eff6a0674c7b32372ea72d4026c01f1ef28d6 Mon Sep 17 00:00:00 2001 >From: ava li <rubyli208@gmail.com> >Date: Tue, 19 Jan 2021 01:36:27 +0000 >Subject: [PATCH] Bug 27355: Add focus to branch code when a new library is > added > >TEST PLAN: >From the koha home, go to administration, go to Libraries which is under >Basic parameters. Click +New library the focus should go to the first >field of the form (library/branch code) the patch has worked. > >https://bugs.koha-community.org/show_bug.cgi?id=27455 > >Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >index cc640bb382..8ccc3b2210 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >@@ -288,6 +288,8 @@ > var columns_settings = [% TablesSettings.GetColumns( 'admin', 'libraries', 'libraries', 'json' ) | $raw %]; > $(document).ready(function() { > >+ $("#branchcode").focus(); >+ > var libraries_url = '/api/v1/libraries'; > var libraries = $("#libraries").api({ > "ajax": { >-- >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 27455
:
115278
|
115305
|
115571
|
118217
|
118218
|
118237
|
118238
|
118239
|
118561
|
118562
|
118563
|
120125
|
120126
|
120127