puvox-library 1.1.32 → 1.1.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library_standard.js +4 -4
- package/package.json +1 -1
package/library_standard.js
CHANGED
@@ -421,10 +421,10 @@ class PuvoxLibrary {
|
|
421
421
|
formItemsToJson(FormElement){
|
422
422
|
let formData = undefined;
|
423
423
|
try { formData = new FormData(FormElement);}
|
424
|
-
catch (e) {
|
425
|
-
|
426
|
-
|
427
|
-
|
424
|
+
catch (e) {
|
425
|
+
const newForm = document.createElement('form');
|
426
|
+
newForm.appendChild(FormElement.cloneNode(true));
|
427
|
+
formData = new FormData(newForm);
|
428
428
|
}
|
429
429
|
const formDataEntries = formData.entries();
|
430
430
|
const handleChild = function (obj,keysArr,value){
|