projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
151968f
)
Roo/form/BasicForm.js
author
Alan Knowles
<alan@roojs.com>
Wed, 25 Sep 2019 04:51:47 +0000
(12:51 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 25 Sep 2019 04:51:47 +0000
(12:51 +0800)
Roo/form/BasicForm.js
patch
|
blob
|
history
diff --git
a/Roo/form/BasicForm.js
b/Roo/form/BasicForm.js
index
4904b46
..
a40c6e9
100644
(file)
--- a/
Roo/form/BasicForm.js
+++ b/
Roo/form/BasicForm.js
@@
-540,11
+540,11
@@
clientValidation Boolean Applies to submit only. Pass true to call fo
// use formdata
if (typeof(FormData) != 'undefined' && asString !== true) {
-
+ var fd = new FormData(this.el.dom);
var ret = {};
-
(new FormData(this.el.dom)).entries().forEach(function(pair
) {
+
while (pair = fd.entries().next()
) {
ret[pair[0]] = pair[1]; // not sure how this will handle duplicates..
- }
)
;
+ };
return ret;
}