mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-14 16:38:39 +00:00
Fix form component bugs
This commit is contained in:
parent
11947db48d
commit
727764ec60
|
|
@ -26,11 +26,6 @@
|
||||||
return this.responses[id];
|
return this.responses[id];
|
||||||
};
|
};
|
||||||
|
|
||||||
getByIndex (index)
|
|
||||||
{
|
|
||||||
return this.responses[index];
|
|
||||||
};
|
|
||||||
|
|
||||||
count ()
|
count ()
|
||||||
{
|
{
|
||||||
return this.responses.length;
|
return this.responses.length;
|
||||||
|
|
|
||||||
|
|
@ -229,7 +229,7 @@
|
||||||
|
|
||||||
if ((successInject = form.getSuccess()) !== null) {
|
if ((successInject = form.getSuccess()) !== null) {
|
||||||
successInject(response);
|
successInject(response);
|
||||||
} else if (typeof response.get(0).type !== 'undefined') {
|
} else if (typeof response.get(0) !== 'undefined' && typeof response.get(0).type !== 'undefined') {
|
||||||
self.app.responseManager.run(response.get(0).type, response.get(0), request);
|
self.app.responseManager.run(response.get(0).type, response.get(0), request);
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user