[-] FO: fixed bug Solved a problem with JSON.stringify problem with IE8 - #PSCFV-8340

This commit is contained in:
sLorenzini
2013-04-03 16:18:37 +02:00
parent ac02afccda
commit 28a5a7a0e1
@@ -45,7 +45,7 @@ $('document').ready(function(){
{/literal}url: "{$module_dir}sendtoafriend_ajax.php",{literal}
type: "POST",
headers: {"cache-control": "no-cache"},
data: {action: 'sendToMyFriend', secure_key: '{/literal}{$stf_secure_key}{literal}', friend: JSON.stringify(datas)},{/literal}{literal}
data: {action: 'sendToMyFriend', secure_key: '{/literal}{$stf_secure_key}{literal}', friend: unescape(JSON.stringify(datas).replace(/u/g, '%u'))},{/literal}{literal}
dataType: "json",
success: function(result){
$.fancybox.close();