[-] MO : Fix bug #PSCFV-8430 bad post type ajax request, thanks to maofree
This commit is contained in:
1 parent
e902117b4a
commit
e295ef1580
1 file changed
+2
-1
@@ -43,7 +43,8 @@ $('document').ready(function(){
|
|||||||
{
|
{
|
||||||
$.ajax({
|
$.ajax({
|
||||||
{/literal}url: "{$module_dir}sendtoafriend_ajax.php",{literal}
|
{/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}
|
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){
|
||||||
|
|||||||
Reference in new issue
Block a user