Changes for page Get in Touch About Your XWiki Project
Last modified by Alex Cotiugă on 2026/05/02 12:23
From version 13.60
edited by Alex Cotiugă
on 2026/05/02 07:40
on 2026/05/02 07:40
Change comment:
There is no comment for this version
To version 13.65
edited by Alex Cotiugă
on 2026/05/02 07:57
on 2026/05/02 07:57
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -62,6 +62,18 @@ 62 62 <li>If useful, we schedule a short call to discuss scope, timeline, and estimated effort.</li> 63 63 </ol> 64 64 </div> 65 + <div class="reviewNotifications"> 66 + <div class="hidden reviewNotificationSuccess"> 67 + 68 + {{success}}reviewNotification{{/success}} 69 + 70 + </div> 71 + <div class="hidden reviewNotificationError"> 72 + 73 + {{error}}reviewNotification{{/error}} 74 + 75 + </div> 76 + </div> 65 65 </div> 66 66 </div> 67 67 {{/html}}
- XWiki.JavaScriptExtension[0]
-
- code
-
... ... @@ -22,10 +22,9 @@ 22 22 23 23 $.post({ 24 24 url: serviceURL, 25 - data: data, 26 - dataType: 'json' 25 + data: data 27 27 }).done(function (response) { 28 - alert(response.message || 'Your request was sent successfully.'); 27 + // replace with succcess message alert(response.message || 'Your request was sent successfully.'); 29 29 form[0].reset(); 30 30 }).fail(function (xhr) { 31 31 var message = 'The request could not be sent. Please try again or contact Agnease by email.'; ... ... @@ -36,7 +36,7 @@ 36 36 message = xhr.responseText; 37 37 } 38 38 39 - alert(message); 38 + // replace with error box message alert(message); 40 40 submitButton.prop('disabled', false); 41 41 }); 42 42 });