From f62ee9385f09d7aa6660ade8adb2dbba7b462a70 Mon Sep 17 00:00:00 2001 From: Nahuel ANGELINETTI Date: Thu, 26 Mar 2009 13:59:37 +0100 Subject: [PATCH] (bug #3063) fix unimarc 4xx plugin with cloned field this patch fix the unimarc plugin 4xx to work with cloned fields, the id of the div wasn't replaced when the field was cloned. Signed-off-by: Galen Charlton --- cataloguing/value_builder/unimarc_field_4XX.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cataloguing/value_builder/unimarc_field_4XX.pl b/cataloguing/value_builder/unimarc_field_4XX.pl index 4cdc4ec94c..a55ceef941 100755 --- a/cataloguing/value_builder/unimarc_field_4XX.pl +++ b/cataloguing/value_builder/unimarc_field_4XX.pl @@ -52,7 +52,7 @@ sub plugin_javascript { function Clic$function_name(i) { defaultvalue=document.getElementById(\"$field_number\").value; - window.open(\"/cgi-bin/koha/cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_4XX.pl&index=$field_number&result=\"+defaultvalue,\"unimarc field 4\"+i+\"\",'width=900,height=700,toolbar=false,scrollbars=yes'); + window.open(\"/cgi-bin/koha/cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_4XX.pl&index=\" + i + \"&result=\"+defaultvalue,\"unimarc field 4\"+i+\"\",'width=900,height=700,toolbar=false,scrollbars=yes'); } -- 2.39.5