From 475f086ee0819a141fefb7f1977ddbc21c1777e5 Mon Sep 17 00:00:00 2001
From: Amy King <amyking386@gmail.com>
Date: Wed, 20 Jan 2021 00:57:35 +0000
Subject: [PATCH] Bug 27458: cursor focueses to credit type field
 class="required focus"

Test Plan:
Before applying patch
1. Click on Administration
2. Scroll down to Accounting and click on Credit types
3. Click New credit type
4. Note how the cursor does not focus on Credit type code field
5. Apply patch
6. Repeat steps 1-3
7. Note how the cursor now focuses on Credity type code field
---
 koha-tmpl/intranet-tmpl/prog/en/modules/admin/credit_types.tt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/credit_types.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/credit_types.tt
index 0169ea25b4..bd5d64cf42 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/credit_types.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/credit_types.tt
@@ -70,7 +70,7 @@
                                         <strong>[% credit_type.code | html %]</strong>
                                         <input type="hidden" name="code" value="[% code | html %]" />
                                     [% ELSE %]
-                                    <input type="text" name="code" id="code" size="80" maxlength="64" class="required" required="required"><span class="required">Required. Maximum length is 64 letters</span>
+                                    <input type="text" name="code" id="code" size="80" maxlength="64" class="required focus" required="required"><span class="required">Required. Maximum length is 64 letters</span>
                                     [% END %]
                                 </li>
                                 <li>
-- 
2.11.0