From 01560410a17a938df334237abe33d4f1e46a8806 Mon Sep 17 00:00:00 2001 From: Git Date: Thu, 25 Jun 2015 11:57:43 +0200 Subject: [PATCH] misterunknown: added method switch for ajax request --- ifm.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ifm.php b/ifm.php index 709c13b..2f84857 100644 --- a/ifm.php +++ b/ifm.php @@ -817,6 +817,8 @@ INTERFACE - SECTION
\
\
\ +
\ + GETPOST
\ \
\
\ @@ -832,7 +834,7 @@ INTERFACE - SECTION url : $("#ajaxurl").val(), cache : false, data : $('#ajaxdata').val().replace(/\n/g,"&"), - type : "GET", + type : $('#ajaxrequest input[name=arMethod]:checked').val(), success : function(response) { $("#ajaxresponse").text(response); }, error : function(e) { ifm.showMessage("Error: "+e, "e"); console.log(e); }, complete: function() { ifm.hideLoading(); }