From f43da83d80aebcf6065b77a1db5d0e7d66e45263 Mon Sep 17 00:00:00 2001 From: Agence CINS Date: Wed, 29 May 2013 18:51:00 +0200 Subject: [PATCH] [-] MO: Fix sendtoafriend module #PSCFV-8340 http://code.google.com/p/jquery-json/issues/detail?id=43 --- modules/sendtoafriend/sendtoafriend-extra.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sendtoafriend/sendtoafriend-extra.tpl b/modules/sendtoafriend/sendtoafriend-extra.tpl index f7439b9cd..e7c594ed4 100644 --- a/modules/sendtoafriend/sendtoafriend-extra.tpl +++ b/modules/sendtoafriend/sendtoafriend-extra.tpl @@ -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: unescape(JSON.stringify(datas).replace(/u/g, '%u'))},{/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();