// Fixed parse error in JS caused by quote in country names

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17331 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-09-13 09:48:50 +00:00
parent 31aa435bb7
commit 5bc2b64eed
+1 -1
View File
@@ -34,7 +34,7 @@ countriesNeedZipCode = new Array();
{if isset($country.states) && $country.contains_states}
countries[{$country.id_country|intval}] = new Array();
{foreach from=$country.states item='state' name='states'}
countries[{$country.id_country|intval}].push({ldelim}'id' : '{$state.id_state}', 'name' : '{$state.name}'{rdelim});
countries[{$country.id_country|intval}].push({ldelim}'id' : '{$state.id_state}', 'name' : '{$state.name|addslashes}'{rdelim});
{/foreach}
{/if}
{if $country.need_identification_number}