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

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

Return to bug 32861