projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b9a59d
)
Roo/form/BasicForm.js
author
Alan Knowles
<alan@roojs.com>
Wed, 25 Sep 2019 04:54:39 +0000
(12:54 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 25 Sep 2019 04:54:39 +0000
(12:54 +0800)
Roo/form/BasicForm.js
patch
|
blob
|
history
diff --git
a/Roo/form/BasicForm.js
b/Roo/form/BasicForm.js
index
a40c6e9
..
3f2d7fd
100644
(file)
--- a/
Roo/form/BasicForm.js
+++ b/
Roo/form/BasicForm.js
@@
-543,7
+543,10
@@
clientValidation Boolean Applies to submit only. Pass true to call fo
var fd = new FormData(this.el.dom);
var ret = {};
while (pair = fd.entries().next()) {
- ret[pair[0]] = pair[1]; // not sure how this will handle duplicates..
+ if (pair.done) {
+ break;
+ }
+ ret[pair.value[0]] = pair.value[1]; // not sure how this will handle duplicates..
};
return ret;
}