Roo/form/BasicForm.js
[roojs1] / roojs-debug.js
index aeb4c22..2473e0f 100644 (file)
@@ -47360,11 +47360,14 @@ 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)).entries();
             var ret = {};
-            (new FormData(this.el.dom)).entries().forEach(function(pair) {
-                ret[pair[0]] = pair[1]; // not sure how this will handle duplicates..
-            });
+            while (pair = fd.next()) {
+                if (pair.done) {
+                    break;
+                }
+                ret[pair.value[0]] = pair.value[1]; // not sure how this will handle duplicates..
+            };
             return ret;
         }