mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 08:41:39 +09:00
Revert "Call Rhymix.ajax() in procFilter()"
Don't call new function from legacy function
This reverts commit 64f0ffbd91.
This commit is contained in:
parent
388091ed82
commit
20f6703f79
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) {
|
||||
Rhymix.ajax(module + '.' + act, params, callback_wrapper);
|
||||
exec_json(module + '.' + act, params, callback_wrapper);
|
||||
} else {
|
||||
var fd = new FormData();
|
||||
for (let key in params) {
|
||||
fd.append(key, params[key]);
|
||||
}
|
||||
Rhymix.ajax(null, fd, callback_wrapper);
|
||||
exec_json('raw', fd, callback_wrapper);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue