// again sorry

This commit is contained in:
Gregory Roussac
2013-03-29 18:02:34 +01:00
parent 88ec1de15c
commit ccdbaf8ffb
@@ -44,7 +44,7 @@ $('document').ready(function(){
$.ajax({ $.ajax({
{/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: JSON.stringify(datas)},{/literal}{literal}
dataType: "json", dataType: "json",
success: function(result){ success: function(result){