From 99a5cbfc26c0b430f0c46f7300d1864b9f2e8237 Mon Sep 17 00:00:00 2001 From: mmcw-dev Date: Sat, 21 Oct 2017 22:53:35 -0400 Subject: [PATCH] Data, not body, you dolt. --- app/www/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/www/index.html b/app/www/index.html index 09dced2..a3be0d2 100644 --- a/app/www/index.html +++ b/app/www/index.html @@ -219,7 +219,7 @@ null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio" $.ajax({ method : 'POST', url : '/dir', - body : JSON.stringify({ dir : dir}), + data : JSON.stringify({ dir : dir}), contentType: 'application/json', dataType : 'json', success : web.setDirSuccess