projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5415dbf
)
Roo/form/BasicForm.js
author
Alan Knowles
<alan@roojs.com>
Wed, 25 Sep 2019 05:00:22 +0000
(13:00 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 25 Sep 2019 05:00:22 +0000
(13:00 +0800)
Roo/form/BasicForm.js
patch
|
blob
|
history
diff --git
a/Roo/form/BasicForm.js
b/Roo/form/BasicForm.js
index
aedec7e
..
3e2d779
100644
(file)
--- a/
Roo/form/BasicForm.js
+++ b/
Roo/form/BasicForm.js
@@
-542,11
+542,10
@@
clientValidation Boolean Applies to submit only. Pass true to call fo
if (typeof(FormData) != 'undefined' && asString !== true) {
var fd = (new FormData(this.el.dom)).entries();
var ret = {};
if (typeof(FormData) != 'undefined' && asString !== true) {
var fd = (new FormData(this.el.dom)).entries();
var ret = {};
- while (pair = fd.next()) {
- if (pair.done) {
- break;
- }
- ret[pair.value[0]] = pair.value[1]; // not sure how this will handle duplicates..
+ var ent = fd.next();
+ while (!ent.done) {
+ ret[ent.value[0]] = ent.value[1]; // not sure how this will handle duplicates..
+ ent = fd.next();
};
return ret;
}
};
return ret;
}