View | Details | Raw Unified | Return to bug 32853
Collapse All | Expand All

(-)a/cataloguing/value_builder/unimarc_field_125.pl (-4 / +3 lines)
Lines 38-46 my ($dbh,$record,$tagslib,$field_number) = @_; Link Here
38
my $function_name= $field_number;
38
my $function_name= $field_number;
39
my $res="
39
my $res="
40
<script>
40
<script>
41
function Clic$function_name(i) {
41
function Clic$function_name(event) {
42
	defaultvalue=document.getElementById(\"$field_number\").value;
42
	defaultvalue=document.getElementById(event.data.id).value;
43
	newin=window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_100.pl&index=$field_number&result=\"+defaultvalue,\"unimarc_field_100\",'width=500,height=400,toolbar=false,scrollbars=yes');
43
	newin=window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_100.pl&index=\" + event.data.id + \"&result=\"+defaultvalue,\"unimarc_field_100\",'width=500,height=400,toolbar=false,scrollbars=yes');
44
44
45
}
45
}
46
</script>
46
</script>
47
- 

Return to bug 32853