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:
vince0656 2018-06-12 14:30:23 +01:00
parent c2010f5a4f
commit 49ed8a3ec9
3 changed files with 43 additions and 3 deletions

View file

@ -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) {