mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
Call Rhymix.ajax() in procFilter()
This commit is contained in:
parent
a0606dcf60
commit
64f0ffbd91
1 changed files with 2 additions and 2 deletions
|
|
@ -467,13 +467,13 @@ function legacy_filter(filter_name, form, module, act, callback, responses, conf
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!hasFile) {
|
if (!hasFile) {
|
||||||
exec_json(module + '.' + act, params, callback_wrapper);
|
Rhymix.ajax(module + '.' + act, params, callback_wrapper);
|
||||||
} else {
|
} else {
|
||||||
var fd = new FormData();
|
var fd = new FormData();
|
||||||
for (let key in params) {
|
for (let key in params) {
|
||||||
fd.append(key, params[key]);
|
fd.append(key, params[key]);
|
||||||
}
|
}
|
||||||
exec_json('raw', fd, callback_wrapper);
|
Rhymix.ajax(null, fd, callback_wrapper);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue