[-] FO: fixed bug Solved a problem with JSON.stringify problem with IE8 - #PSCFV-8340
This commit is contained in:
@@ -45,7 +45,7 @@ $('document').ready(function(){
|
|||||||
{/literal}url: "{$module_dir}sendtoafriend_ajax.php",{literal}
|
{/literal}url: "{$module_dir}sendtoafriend_ajax.php",{literal}
|
||||||
type: "POST",
|
type: "POST",
|
||||||
headers: {"cache-control": "no-cache"},
|
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",
|
dataType: "json",
|
||||||
success: function(result){
|
success: function(result){
|
||||||
$.fancybox.close();
|
$.fancybox.close();
|
||||||
|
|||||||
Reference in New Issue
Block a user