Bug 12161: fix regression on serials receiving
authorMatthias Meusburger <matthias.meusburger@biblibre.com>
Tue, 29 Apr 2014 12:22:48 +0000 (14:22 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 6 May 2014 14:43:38 +0000 (14:43 +0000)
Serial receiving was broken when "create an item record when receiving
this serial" is used for the subscription.  This bug was introduced by
the patch for bug 12138.

Signed-off-by: Pasi Kallinen <pasi.kallinen@pttk.fi>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>

koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt

index 5d47d73..20a4963 100644 (file)
@@ -86,7 +86,7 @@ $(document).ready(function() {
         if ( total_errors > 0 ) {
             var mes  = _("Form not submitted because of the following problem(s)");
             mes += "\n------------------------------------------------------------------------------------\n";
-            mes += "\n- " _("%s mandatory fields empty (highlighted)").format(total_errors);
+            mes += "\n- " + _("%s mandatory fields empty (highlighted)").format(total_errors);
             alert(mes);
             return false;
         }