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

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

Return to bug 32863