X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-ui-debug.js;h=23c3ec4485b85330609c80a902d0a120216f9419;hp=6e286e1b7e09fa0a88d753be00edfc9c4f567428;hb=2b9a59dd7afca21c711abf15c1768b73e80c1dbf;hpb=aa5332a9deb4916dc2d4b05980f50031c32abddd diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 6e286e1b7e..23c3ec4485 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -24909,11 +24909,11 @@ 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 = {}; - (new FormData(this.el.dom)).entries().forEach(function(pair) { + while (pair = fd.entries().next()) { ret[pair[0]] = pair[1]; // not sure how this will handle duplicates.. - }); + }; return ret; }