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

(-)a/cataloguing/value_builder/unimarc_field_225a.pl (-4 / +4 lines)
Lines 62-69 sub plugin_javascript { Link Here
62
    <script>
62
    <script>
63
    
63
    
64
    
64
    
65
        function Clic$function_name(index) {
65
        function Clic$function_name(event) {
66
        /* find the 010a value and the 210c. it will be used in the popup to find possibles collections */
66
        /* find the 010a value and the 210c. it will be used in the popup to find possibles collections */
67
            event.preventDefault();
67
            var isbn_found   = 0;
68
            var isbn_found   = 0;
68
            var editor_found = 0;
69
            var editor_found = 0;
69
            
70
            
Lines 81-88 sub plugin_javascript { Link Here
81
                }
82
                }
82
            }
83
            }
83
                    
84
                    
84
            defaultvalue = document.getElementById(\"$field_number\").value;
85
            defaultvalue = document.getElementById(event.data.id).value;
85
            window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_225a.pl&index=\"+index+\"&result=\"+defaultvalue+\"&editor_found=\"+editor_found,\"unimarc225a\",'width=500,height=400,toolbar=false,scrollbars=no');
86
            window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=unimarc_field_225a.pl&index=\"+event.data.id+\"&result=\"+defaultvalue+\"&editor_found=\"+editor_found,\"unimarc225a\",'width=500,height=400,toolbar=false,scrollbars=no');
86
    
87
    
87
        }
88
        }
88
    </script>
89
    </script>
89
- 

Return to bug 32871