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

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

Return to bug 32836