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

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

Return to bug 32840