[-] MO : Fix bug #PSCFV-8430 bad post type ajax request, thanks to maofree

This commit is contained in:
gRoussac
2013-03-29 18:00:35 +01:00
parent e902117b4a
commit e295ef1580
@@ -43,7 +43,8 @@ $('document').ready(function(){
{
$.ajax({
{/literal}url: "{$module_dir}sendtoafriend_ajax.php",{literal}
post: "POST",
type: "POST",
headers: { "cache-control": "no-cache" },
data: {action: 'sendToMyFriend', secure_key: '{/literal}{$stf_secure_key}{literal}', friend: JSON.stringify(datas)},{/literal}{literal}
dataType: "json",
success: function(result){