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

(-)a/cataloguing/value_builder/unimarc_field_225a_bis.pl (-3 / +3 lines)
Lines 35-42 sub plugin_javascript { Link Here
35
    my $function_name = $field_number;
35
    my $function_name = $field_number;
36
    my $res           = "
36
    my $res           = "
37
    <script>
37
    <script>
38
        function Clic$function_name(index) {
38
        function Clic$function_name(event) {
39
            window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_225a_bis.pl&index=\"+index,\"unimarc225a\",'width=500,height=400,toolbar=false,scrollbars=no');
39
            event.preventDefault();
40
            window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_225a_bis.pl&index=\"+event.data.id,\"unimarc225a\",'width=500,height=400,toolbar=false,scrollbars=no');
40
        }
41
        }
41
    </script>
42
    </script>
42
";
43
";
43
- 

Return to bug 32870