Updated README to include details on dependency requirements. Updated Create Event page to disable the create button when the reCAPTCHA expires
This commit is contained in:
parent
c2010f5a4f
commit
49ed8a3ec9
3 changed files with 43 additions and 3 deletions
|
@ -54,10 +54,14 @@ document.getElementById('files').addEventListener('change', processFileChange, f
|
|||
|
||||
// reCAPTCHA
|
||||
|
||||
function recaptchaCallback(){
|
||||
function reCVerificationCallback() {
|
||||
$('#submit-event-create').removeAttr('disabled');
|
||||
}
|
||||
|
||||
function reCExpiredCallback() {
|
||||
$('#submit-event-create').prop('disabled', true);
|
||||
}
|
||||
|
||||
// Slug field.
|
||||
|
||||
function slugify(value) {
|
||||
|
|
Reference in a new issue