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