From 967542e32598bcfe6d35e82a0311b1d54aa60405 Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 2 Jul 2007 09:51:28 +0000 Subject: [PATCH] leader length checking bugfix : 25 and not 24 --- cataloguing/value_builder/unimarc_leader.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cataloguing/value_builder/unimarc_leader.pl b/cataloguing/value_builder/unimarc_leader.pl index 8fcb35fe79..74500aa199 100755 --- a/cataloguing/value_builder/unimarc_leader.pl +++ b/cataloguing/value_builder/unimarc_leader.pl @@ -47,8 +47,8 @@ return 1; } 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; } -- 2.39.5