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

(-)a/cataloguing/value_builder/cn_browser.pl (-3 / +3 lines)
Lines 33-40 my $builder = sub { Link Here
33
    my $res = "
33
    my $res = "
34
<script>
34
<script>
35
35
36
function Click$function_name(i) {
36
function Click$function_name(ev) {
37
    q = document.getElementById('$params->{id}');
37
    ev.preventDefault();
38
    q = document.getElementById(ev.data.id);
38
    window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=cn_browser.pl&popup&q=\"+encodeURIComponent(q.value),\"cnbrowser\",\"width=500,height=400,toolbar=false,scrollbars=yes\");
39
    window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=cn_browser.pl&popup&q=\"+encodeURIComponent(q.value),\"cnbrowser\",\"width=500,height=400,toolbar=false,scrollbars=yes\");
39
}
40
}
40
41
41
- 

Return to bug 32816