mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-15 16:58:42 +00:00
Handle response type
This commit is contained in:
parent
5b305db3d2
commit
11947db48d
|
|
@ -229,6 +229,8 @@
|
||||||
|
|
||||||
if ((successInject = form.getSuccess()) !== null) {
|
if ((successInject = form.getSuccess()) !== null) {
|
||||||
successInject(response);
|
successInject(response);
|
||||||
|
} else if (typeof response.get(0).type !== 'undefined') {
|
||||||
|
self.app.responseManager.run(response.get(0).type, response.get(0), request);
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user