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

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

Return to bug 32874