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

(-)a/cataloguing/value_builder/cn_browser.pl (-2 / +1 lines)
Lines 36-42 my $builder = sub { Link Here
36
36
37
function Click$function_name(i) {
37
function Click$function_name(i) {
38
    q = document.getElementById('$params->{id}');
38
    q = document.getElementById('$params->{id}');
39
    window.open(\"../cataloguing/plugin_launcher.pl?plugin_name=cn_browser.pl&popup&q=\"+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\");
40
}
40
}
41
41
42
</script>
42
</script>
43
- 

Return to bug 26605