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

(-)a/cataloguing/value_builder/unimarc_field_126a.pl (-4 / +3 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
	defaultvalue=document.getElementById(event.data.id).value;
38
	newin=window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_126a.pl&index=$field_number&result=\"+defaultvalue,\"unimarc_field_126a\",'width=1000,height=575,toolbar=false,scrollbars=yes');
38
	newin=window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_126a.pl&index=\" + event.data.id + \"&result=\"+defaultvalue,\"unimarc_field_126a\",'width=1000,height=575,toolbar=false,scrollbars=yes');
39
39
40
}
40
}
41
</script>
41
</script>
42
- 

Return to bug 32854