Bugzilla – Attachment 118237 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 27455: Add focus to branch code when a new library is added
Bug-27455-Add-focus-to-branch-code-when-a-new-libr.patch (text/plain), 1.40 KB, created by
Owen Leonard
on 2021-03-15 14:50:54 UTC
(
hide
)
Description:
Bug 27455: Add focus to branch code when a new library is added
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2021-03-15 14:50:54 UTC
Size:
1.40 KB
patch
obsolete
>From 7d629854059aa4ed40e1f0c850661c1ece202543 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 27455: 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> > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > 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 6fd708df85..a293beeaa8 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.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 27455
:
115278
|
115305
|
115571
|
118217
|
118218
|
118237
|
118238
|
118239
|
118561
|
118562
|
118563
|
120125
|
120126
|
120127