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.61
edited by Alex Cotiugă
on 2026/05/02 07:42
on 2026/05/02 07:42
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- 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 });