koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/cataloguing/value_builder unimarc_leader.pl


From: paul poulain
Subject: [Koha-cvs] koha/cataloguing/value_builder unimarc_leader.pl
Date: Mon, 02 Jul 2007 09:51:28 +0000

CVSROOT:        /sources/koha
Module name:    koha
Changes by:     paul poulain <tipaul>   07/07/02 09:51:28

Modified files:
        cataloguing/value_builder: unimarc_leader.pl 

Log message:
        leader length checking bugfix : 25 and not 24

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/cataloguing/value_builder/unimarc_leader.pl?cvsroot=koha&r1=1.5&r2=1.6

Patches:
Index: unimarc_leader.pl
===================================================================
RCS file: /sources/koha/koha/cataloguing/value_builder/unimarc_leader.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- unimarc_leader.pl   6 Jun 2007 13:08:35 -0000       1.5
+++ unimarc_leader.pl   2 Jul 2007 09:51:28 -0000       1.6
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: unimarc_leader.pl,v 1.5 2007/06/06 13:08:35 tipaul Exp $
+# $Id: unimarc_leader.pl,v 1.6 2007/07/02 09:51:28 tipaul Exp $
 
 # Copyright 2000-2002 Katipo Communications
 #
@@ -47,8 +47,8 @@
 }
 
 function Blur$function_name(subfield_managed) {
-    if (document.forms['f'].field_value[subfield_managed].value.length != 24) {
-        alert('leader has an incorrect size: ' + 
document.forms['f'].field_value[subfield_managed].value.length + ' instead of 
24 chars');
+    if (document.forms['f'].field_value[subfield_managed].value.length != 25) {
+        alert(_('leader has an incorrect size: ' + 
document.forms['f'].field_value[subfield_managed].value.length + ' instead of 
25 chars'));
     }
     return 1;
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]