diff --git a/src/application/config/config.php b/src/application/config/config.php index 4bf94132..e22dd732 100644 --- a/src/application/config/config.php +++ b/src/application/config/config.php @@ -273,7 +273,7 @@ $config['cache_path'] = __DIR__ . '/../../storage/cache/'; | new release. | */ -$config['cache_busting_token'] = '9sdfg987s8d7g'; +$config['cache_busting_token'] = '9G7D4'; /* |-------------------------------------------------------------------------- diff --git a/src/application/controllers/Appointments.php b/src/application/controllers/Appointments.php index d0853425..8b3916d1 100755 --- a/src/application/controllers/Appointments.php +++ b/src/application/controllers/Appointments.php @@ -438,8 +438,7 @@ class Appointments extends CI_Controller { $this->output ->set_content_type('application/json') ->set_output(json_encode([ - 'captcha_verification' => FALSE, - 'expected_phrase' => $this->session->userdata('captcha_phrase') + 'captcha_verification' => FALSE ])); return; } diff --git a/src/assets/js/frontend_book.js b/src/assets/js/frontend_book.js index 7e06d6cb..b5cac8bf 100644 --- a/src/assets/js/frontend_book.js +++ b/src/assets/js/frontend_book.js @@ -337,7 +337,7 @@ window.FrontendBook = window.FrontendBook || {}; FrontendBookApi.applyPreviousUnavailableDates(); // New jQuery UI version will replace the td elements. }, 300); // There is no draw event unfortunately. }) - }; + } /** * This function validates the customer's data input. The user cannot continue diff --git a/src/assets/js/frontend_book_api.js b/src/assets/js/frontend_book_api.js index 63542f3f..79104aa2 100644 --- a/src/assets/js/frontend_book_api.js +++ b/src/assets/js/frontend_book_api.js @@ -163,7 +163,7 @@ window.FrontendBookApi = window.FrontendBookApi || {}; if (response.captcha_verification === false) { $('#captcha-hint') - .text(EALang.captcha_is_wrong + '(' + response.expected_phrase + ')') + .text(EALang.captcha_is_wrong) .fadeTo(400, 1); setTimeout(function () {