Changes for page Get in Touch About Your XWiki Project
Last modified by Agnease on 2026/06/16 17:18
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.JavaScriptExtension[0]
-
- code
-
... ... @@ -16,18 +16,15 @@ 16 16 errorBox.find('.box div p').text(''); 17 17 18 18 submitButton.prop('disabled', true); 19 - console.log(form.serializeArray()) 20 20 21 21 $.post({ 22 22 url: serviceURL, 23 23 data: $.param(form.serializeArray()) 24 24 }).done(function (data) { 25 - console.log(data) 26 26 successBox.find('.box div p').text(data.message); 27 27 successBox.removeClass('hidden'); 28 28 form[0].reset(); 29 29 }).fail(function (xhr) { 30 - console.log('fail' + xhr) 31 31 var message = xhr.responseJSON && xhr.responseJSON.message ? xhr.responseJSON.message 32 32 : 'The request could not be sent. Please try again or contact Agnease by email at alex@agnease.com'; 33 33 errorBox.find('.box div p').text(message);