Handle response type

This commit is contained in:
Dennis Eichhorn 2018-05-09 20:41:29 +02:00
parent 5b305db3d2
commit 11947db48d

View File

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