mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-28 09:28:39 +00:00
Fix form component bugs
This commit is contained in:
parent
11947db48d
commit
727764ec60
|
|
@ -26,11 +26,6 @@
|
|||
return this.responses[id];
|
||||
};
|
||||
|
||||
getByIndex (index)
|
||||
{
|
||||
return this.responses[index];
|
||||
};
|
||||
|
||||
count ()
|
||||
{
|
||||
return this.responses.length;
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@
|
|||
|
||||
if ((successInject = form.getSuccess()) !== null) {
|
||||
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);
|
||||
}
|
||||
} catch (e) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user