Commit 81797df7 authored by Ozoux's avatar Ozoux
Browse files

Fixes feedback on send button.

parent 3a8326fc
Pipeline #131 passed with stages
in 47 seconds
......@@ -154,6 +154,7 @@ jQuery(document).ready(function($) {
var submitFormToRocketChat = function() {
var name = document.getElementById('input_1_1').value;
var email = document.getElementById('input_1_2').value;
var org = document.getElementById('input_1_3').value;
......@@ -172,8 +173,11 @@ var submitFormToRocketChat = function() {
type: "POST",
url: "https://chat.indie.host/hooks/ffcBghPi8TpWWksRJ/HtEe8fC7xpwcmLiSKX7Z7QN7bXhN2sweoJsqqMke9acXn52E",
data: JSON.stringify(message),
success: function(){},
success: function(){
$(gform_submit_button_1).css("cursor", "not-allowed").css("background-color", "#AAA").val("Thanks for your request, we'll send you an email when it is ready!").attr('disabled','disabled');
},
dataType: "json",
contentType : "application/json"
});
};
\ No newline at end of file
};
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment