[-] BO : #PSFV-518 - On admin module controllers, autoload_rte flag for textarea fields doesn't work if lang flag is on "false"

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14066 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vAugagneur
2012-03-13 10:09:31 +00:00
parent 16f850d10f
commit 5f31d931a1
@@ -229,7 +229,7 @@
{/foreach}
</div>
{else}
<textarea name="{$input.name}" id="{$input.name}" cols="{$input.cols}" rows="{$input.rows}">{$fields_value[$input.name]|escape:'htmlall':'UTF-8'}</textarea>
<textarea name="{$input.name}" id="{$input.name}" cols="{$input.cols}" rows="{$input.rows}" {if isset($input.autoload_rte) && $input.autoload_rte}class="rte autoload_rte"{/if}>{$fields_value[$input.name]|escape:'htmlall':'UTF-8'}</textarea>
{/if}
{elseif $input.type == 'checkbox'}
{foreach $input.values.query as $value}