From a844bad0235b0bf6309b37ba5255a5dfb7bd110a Mon Sep 17 00:00:00 2001 From: Arne Georg Gleditsch Date: Thu, 29 Sep 2011 10:45:42 +0200 Subject: Fix fallout from 84fc580e278aefda62c537a05661db8ae39e55e0. --- lib/LXRng/Web.pm | 2 +- tmpl/release_select.tt2 | 2 +- webroot/.static/js/lxrng-funcs.js | 8 ++++++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/lib/LXRng/Web.pm b/lib/LXRng/Web.pm index 2c72282..46b741f 100644 --- a/lib/LXRng/Web.pm +++ b/lib/LXRng/Web.pm @@ -240,7 +240,7 @@ sub source { 'pjx_load_file' => '', 'pjx_load_fragment' => '', 'pjx_releases' => ''); - $pjx->js_encode_function('encodeURIComponent'); + $pjx->js_encode_function('encode_lxrng'); if ($context->prefs and $context->prefs->{'navmethod'} eq 'ajax') { print($query->header(-type => 'text/html', diff --git a/tmpl/release_select.tt2 b/tmpl/release_select.tt2 index 9172e24..65a6425 100644 --- a/tmpl/release_select.tt2 +++ b/tmpl/release_select.tt2 @@ -1,7 +1,7 @@