diff --git a/application/controllers/Appointments.php b/application/controllers/Appointments.php index 634bd201..ff6c6b4f 100644 --- a/application/controllers/Appointments.php +++ b/application/controllers/Appointments.php @@ -424,8 +424,6 @@ class Appointments extends EA_Controller { */ public function ajax_register_appointment() { - throw new Exception('mon test'); - try { $post_data = $this->input->post('post_data'); diff --git a/assets/js/frontend_book.js b/assets/js/frontend_book.js index a3dd37f2..e2cba84d 100644 --- a/assets/js/frontend_book.js +++ b/assets/js/frontend_book.js @@ -425,7 +425,6 @@ window.FrontendBook = window.FrontendBook || {}; * @param {jQuery.Event} event */ $('#book-appointment-submit').on('click', function () { - //TEST HERE FrontendBookApi.registerAppointment(); });