[-] BO : fixed JS bug in category creation with URL rewrite field

This commit is contained in:
vAugagneur
2012-11-15 13:29:29 +00:00
parent a0a6a3d3b6
commit 9c8ef4c4ce
2 changed files with 15 additions and 1 deletions
@@ -48,6 +48,20 @@
{$smarty.block.parent}
{/if}
{/block}
{block name="input"}
{if $input.name == "link_rewrite"}
<script type="text/javascript">
{if isset($PS_ALLOW_ACCENTED_CHARS_URL) && $PS_ALLOW_ACCENTED_CHARS_URL}
var PS_ALLOW_ACCENTED_CHARS_URL = 1;
{else}
var PS_ALLOW_ACCENTED_CHARS_URL = 0;
{/if}
</script>
{$smarty.block.parent}
{else}
{$smarty.block.parent}
{/if}
{/block}
{block name="description"}
{$smarty.block.parent}
{if ($input.name == 'groupBox')}