[Koha-patches] [PATCH 2/2] Bug 14179 - Update currency field's maxlength attribute

Indranil Das Gupta idgbpo at gmail.com
Mon May 11 01:59:38 CEST 2015


Updates 'maxlength' attribute of field 'currency' in the 'New
currency' addition form to 255 and brings it in sync with the
field width of corresponding `currency`.`currency` column.
---
 koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt
index 57c38cf..dda6940 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt
@@ -85,7 +85,7 @@
             <input type="hidden" name="currency" id="currency" value="[% searchfield %]" />[% searchfield %]
     [% ELSE %]
             <label for="currency" class="required">Currency: </label>
-            <input type="text" name="currency" id="currency" size="50" maxlength="50" onblur="toUC(this);" required="required" class="required" /> <span class="required">Required</span>
+            <input type="text" name="currency" id="currency" size="50" maxlength="255" onblur="toUC(this);" required="required" class="required" /> <span class="required">Required</span>
     [% END %]
         </li>
         <li>
-- 
1.9.1



More information about the Koha-patches mailing list