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

(-)a/cataloguing/value_builder/unimarc_field_128b.pl (-4 / +4 lines)
Lines 33-41 my ($dbh,$record,$tagslib,$field_number) = @_; Link Here
33
my $function_name= $field_number;
33
my $function_name= $field_number;
34
my $res="
34
my $res="
35
<script>
35
<script>
36
function Clic$function_name(i) {
36
function Clic$function_name(event) {
37
	defaultvalue=document.getElementById(\"$field_number\").value;
37
    const id = event.data.id;
38
	newin=window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_128b.pl&index=$field_number&result=\"+defaultvalue,\"unimarc_field_128b\",'width=1000,height=375,toolbar=false,scrollbars=yes');
38
	defaultvalue=document.getElementById(id).value;
39
	newin=window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_128b.pl&index=\" + id + \"&result=\"+defaultvalue,\"unimarc_field_128b\",'width=1000,height=375,toolbar=false,scrollbars=yes');
39
40
40
}
41
}
41
</script>
42
</script>
42
- 

Return to bug 32859