Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Fix - Send contact us form when captcha is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzysztofPajak committed Dec 13, 2019
1 parent 843b699 commit 66860e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Grand.Web/wwwroot/scripts/public.common.js
Expand Up @@ -404,7 +404,7 @@ function sendcontactusform(urladd) {
AskQuestionPhone: $('#AskQuestionPhone').val(),
AskQuestionMessage: $('#AskQuestionMessage').val(),
Id: $('#AskQuestionProductId').val(),
'g-recaptcha-response-value': $("input[id^='g-recaptcha-response']").val()
'g-recaptcha-response-value': $("textarea[id^='g-recaptcha-response']").val()
};
addAntiForgeryToken(contactData);
$.ajax({
Expand Down

0 comments on commit 66860e9

Please sign in to comment.