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

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

Return to bug 32834