From 3325e8cb20e8b545c402c8377ed67d9d4d245bfc Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Sun, 20 Oct 2013 20:47:07 +0200 Subject: [PATCH] Bug 11019 Prevent adding new empty category in authorized values Test plan: * Go to Koha > admin > authorised values > New category > save without entering a category value * You'll get a message saying "this field is required" * signoff --- .../prog/en/modules/admin/authorised_values.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt index afdd882..0628d20 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt @@ -73,13 +73,13 @@ $(document).ready(function() { [% IF ( action_modify ) %]
NOTE: If you change an authorized value, existing records using it won't be updated.
[% END %] -
+
  1. [% IF ( action_add_category ) %] - + [% ELSE %]Category [% category %] [% END %] -- 1.7.9.5