Last modified by Alex Cotiugă on 2026/05/02 12:23

From version 13.102
edited by Alex Cotiugă
on 2026/05/02 08:26
Change comment: There is no comment for this version
To version 13.98
edited by Alex Cotiugă
on 2026/05/02 08:19
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
code
... ... @@ -23,10 +23,12 @@
23 23   form.on('submit', function (event) {
24 24   event.preventDefault();
25 25  
26 - var data = $.param(form.serializeArray());
26 + var data = getFormData();
27 +
28 + console.log(data)
27 27  
28 28   submitButton.prop('disabled', true);
29 -
31 +/*
30 30   $.post({
31 31   url: serviceURL,
32 32   data: data
... ... @@ -47,8 +47,7 @@
47 47   if (successBox.is(':visible')) {
48 48   successBox.toggleClass('hidden');
49 49   }
50 - }).always(function () {
51 51   submitButton.prop('disabled', false);
52 - });
53 + });*/
53 53   });
54 54  });