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

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

Return to bug 32844