mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-18 10:08:40 +00:00
Fix missing form method/action
This commit is contained in:
parent
be313453d6
commit
9270506623
|
|
@ -313,8 +313,8 @@
|
|||
return;
|
||||
}
|
||||
|
||||
this.method = e.attributes['method'].value;
|
||||
this.action = e.action;
|
||||
this.method = typeof e.attributes['method'] !== 'undefined' ? e.attributes['method'].value : 'EMPTY';
|
||||
this.action = typeof e.action !== 'undefined' ? e.action : 'EMPTY';
|
||||
|
||||
const elements = this.getFormElements(),
|
||||
length = elements.length;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user