Data, not body, you dolt.

This commit is contained in:
mmcw-dev 2017-10-21 22:53:35 -04:00
parent d7a64c07f9
commit 99a5cbfc26
1 changed files with 1 additions and 1 deletions

View File

@ -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