Revert "Call Rhymix.ajax() in procFilter()"

Don't call new function from legacy function

This reverts commit 64f0ffbd91.
This commit is contained in:
Kijin Sung 2025-06-14 15:53:43 +09:00
parent 388091ed82
commit 20f6703f79

View file

@ -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);
}
};