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

From version 13.107
edited by Alex Cotiugă
on 2026/05/02 08:28
Change comment: There is no comment for this version
To version 13.100
edited by Alex Cotiugă
on 2026/05/02 08:20
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -41,22 +41,6 @@
41 41   ##<p>Your information will only be used to respond to this request. See the Privacy Policy for details.</p>
42 42   <input id="contactSubmit" type="submit" class="btn btn-primary" value="Send my request">
43 43   </form>
44 - {{/html}}
45 - {{html clean="false" wiki="true"}}
46 - <div class="reviewNotifications">
47 - <div class="hidden reviewNotificationSuccess">
48 -
49 - {{success}}reviewNotification{{/success}}
50 -
51 - </div>
52 - <div class="hidden reviewNotificationError">
53 -
54 - {{error}}reviewNotification{{/error}}
55 -
56 - </div>
57 - </div>
58 - {{/html}}
59 - {{html clean="false"}}
60 60   </div>
61 61   <div class="col-xs-5">
62 62   <div class="widget">
... ... @@ -78,6 +78,20 @@
78 78   <li>If useful, we schedule a short call to discuss scope, timeline, and estimated effort.</li>
79 79   </ol>
80 80   </div>
65 + {{/html}}
66 + {{html clean="false" wiki="true"}}
67 + <div class="reviewNotifications">
68 + <div class="hidden reviewNotificationSuccess">
69 +
70 + {{success}}reviewNotification{{/success}}
71 +
72 + </div>
73 + <div class="hidden reviewNotificationError">
74 +
75 + {{error}}reviewNotification{{/error}}
76 +
77 + </div>
78 + </div>
81 81   </div>
82 82   </div>
83 83  {{/html}}
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(orm.serializeArray())
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  });