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

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

Summary

Details

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