From 8045e0128d710da09fb9cfe522729068ff440653 Mon Sep 17 00:00:00 2001 From: fSerny Date: Wed, 14 Dec 2011 16:53:50 +0000 Subject: [PATCH] [-] Project : fix on template --- admin-dev/themes/template/modules/js.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin-dev/themes/template/modules/js.tpl b/admin-dev/themes/template/modules/js.tpl index fd3f8d031..275871823 100644 --- a/admin-dev/themes/template/modules/js.tpl +++ b/admin-dev/themes/template/modules/js.tpl @@ -39,7 +39,7 @@ {if isset($smarty.get.anchor)} $('document').ready( function() { - $.scrollTo('#{$smarty.get.anchor|htmlentities}', 1200, {literal}{offset: -100}{/literal}); + $.scrollTo('#{$smarty.get.anchor|htmlentities|replace:'(':''|replace:')':''|replace:'{':''|replace:'}':''}', 1200, {literal}{offset: -100}{/literal}); }); {/if}