roojs-ui.js
[roojs1] / roojs-debug.js
index 342730d..3b8a476 100644 (file)
@@ -47361,10 +47361,10 @@ 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 = {}
-            formData.entries().forEach(function(pair) {
+            var ret = {};
+            while (pair = fd.entries().next()) {
                 ret[pair[0]] = pair[1]; // not sure how this will handle duplicates..
-            });
+            };
             return ret;
         }