X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-debug.js;fp=roojs-debug.js;h=9de2651da74cded462ba423ba9316547540f8655;hp=6e125677b4ccfa217eab4364585544cee9afdbd6;hb=f82889b9a1866c045141af3238da91787156abbc;hpb=c2162fa64f4d6cb2a21a9296cdf9c79ab00ece5e diff --git a/roojs-debug.js b/roojs-debug.js index 6e125677b4..9de2651da7 100644 --- a/roojs-debug.js +++ b/roojs-debug.js @@ -47358,6 +47358,17 @@ clientValidation Boolean Applies to submit only. Pass true to call fo }, this); } + // use formdata + if (typeof(FormData) != 'undefined' && asString !== true) { + var fd = (new FormData(this.el.dom)).entries(); + var ret = {}; + var ent = fd.next(); + while (!ent.done) { + ret[ent.value[0]] = ent.value[1]; // not sure how this will handle duplicates.. + ent = fd.next(); + }; + return ret; + } var fs = Roo.lib.Ajax.serializeForm(this.el.dom);