roojs-ui.js
[roojs1] / roojs-ui-debug.js
index 23c3ec4..013ef42 100644 (file)
@@ -24912,7 +24912,10 @@ clientValidation  Boolean          Applies to submit only.  Pass true to call fo
             var fd = new FormData(this.el.dom);
             var ret = {};
             while (pair = fd.entries().next()) {
-                ret[pair[0]] = pair[1]; // not sure how this will handle duplicates..
+                if (pair.done) {
+                    break;
+                }
+                ret[pair.value[0]] = pair.value[1]; // not sure how this will handle duplicates..
             };
             return ret;
         }