Roo/form/BasicForm.js
authorAlan Knowles <alan@roojs.com>
Wed, 25 Sep 2019 04:49:01 +0000 (12:49 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 25 Sep 2019 04:49:01 +0000 (12:49 +0800)
Roo/form/BasicForm.js

index c6392b8..460dece 100644 (file)
@@ -542,7 +542,7 @@ clientValidation  Boolean          Applies to submit only.  Pass true to call fo
         if (typeof(FormData) != 'undefined' && asString !== true) {
             var fd = new FormData(this.el.dom);
             var ret = {}
-            formData.entries().forEach(function(pair) {
+            fd.entries().forEach(function(pair) {
                 ret[pair[0]] = pair[1]; // not sure how this will handle duplicates..
             });
             return ret;