[-] FO : fixed bug #PSCFV-5980 && added 'js=1' in tpl when string is in script tag

This commit is contained in:
vAugagneur committed 2012-12-12 17:38:31 +01:00
1 parent c3c0441316
commit cd0eb0c6a4
11 files changed
+59 -59

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@
}
$(function()
{
var errorTitle = '{/literal}{if $errors|@count > 1}{l s='There are %d errors:' sprintf=$errors|@count}{else}{l s='There is %d error:' sprintf=$errors|@count}{/if}{literal}';
var errorTitle = '{/literal}{if $errors|@count > 1}{l s='There are %d errors:' js=1 sprintf=$errors|@count}{else}{l s='There is %d error:' js=1 sprintf=$errors|@count}{/if}{literal}';
var errorMessage = '<ol>';
{/literal}
{foreach from=$errors key=k item=error}