ammend mod panel js more
This commit is contained in:
parent
cec6f7cef5
commit
6019d70382
@ -160,7 +160,8 @@ function nntpchan_mod(mod_action) {
|
||||
ajax.open(mod_action.method || "GET", url);
|
||||
var data = mod_action.data;
|
||||
if (data) {
|
||||
ajax.send(data);
|
||||
ajax.setRequestHeader("Content-type","text/json");
|
||||
ajax.send(json.Stringify(data));
|
||||
} else {
|
||||
ajax.send();
|
||||
}
|
||||
|
Reference in New Issue
Block a user