Bugzilla – Attachment 120126 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: (follow-up) Switch form JavaScript to focus class
Bug-27455-follow-up-Switch-form-JavaScript-to-focu.patch (text/plain), 1.93 KB, created by
Kyle M Hall (khall)
on 2021-04-23 17:17:03 UTC
(
hide
)
Description:
Bug 27455: (follow-up) Switch form JavaScript to focus class
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2021-04-23 17:17:03 UTC
Size:
1.93 KB
patch
obsolete
>From ffce5377ee891d5195b655b272e71b0421b1b6f7 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Thu, 4 Mar 2021 09:35:37 +0000 >Subject: [PATCH] Bug 27455: (follow-up) Switch form JavaScript to focus class > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >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 c04ec9a4bc..7e413534a1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt >@@ -139,7 +139,7 @@ Libraries › Administration › Koha > [% library.branchcode | html %] > [% ELSE %] > <label for="branchcode" class="required">Library code: </label> >- <input type="text" name="branchcode" id="branchcode" size="10" maxlength="10" value="[% library.branchcode | html %]" class="required" required="required" /> >+ <input type="text" name="branchcode" id="branchcode" size="10" maxlength="10" value="[% library.branchcode | html %]" class="required focus" required="required" /> > <span class="required">Required</span> > [% END %] > </li> >@@ -327,8 +327,6 @@ Libraries › Administration › Koha > 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.3 (Apple Git-128)
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