Archived
1
0

ammend mod panel js more

This commit is contained in:
jeff 2015-09-23 09:06:44 -04:00
parent cec6f7cef5
commit 6019d70382

View File

@ -160,7 +160,8 @@ function nntpchan_mod(mod_action) {
ajax.open(mod_action.method || "GET", url); ajax.open(mod_action.method || "GET", url);
var data = mod_action.data; var data = mod_action.data;
if (data) { if (data) {
ajax.send(data); ajax.setRequestHeader("Content-type","text/json");
ajax.send(json.Stringify(data));
} else { } else {
ajax.send(); ajax.send();
} }