From 2777be03dafbd3a15a3b29ba432eef07fdb5c8a9 Mon Sep 17 00:00:00 2001 From: alext Date: Sun, 11 Jun 2017 21:10:53 +0200 Subject: [PATCH] Dedicated service or provider selections must not be disabled. --- src/assets/js/frontend_book.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/assets/js/frontend_book.js b/src/assets/js/frontend_book.js index bdcd6acd..887cef6e 100644 --- a/src/assets/js/frontend_book.js +++ b/src/assets/js/frontend_book.js @@ -114,10 +114,7 @@ window.FrontendBook = window.FrontendBook || {}; var selectedServiceId = GeneralFunctions.getUrlParameter(location.href, 'service'); if (selectedServiceId && $selectService.find('option[value="' + selectedServiceId + '"]').length > 0) { - $selectService - .val(selectedServiceId) - .prop('disabled', true) - .css('opacity', '0.5'); + $selectService.val(selectedServiceId); } $selectService.trigger('change'); // Load the available hours. @@ -141,8 +138,6 @@ window.FrontendBook = window.FrontendBook || {}; if (selectedProviderId && $selectProvider.find('option[value="' + selectedProviderId + '"]').length > 0) { $selectProvider .val(selectedProviderId) - .prop('disabled', true) - .css('opacity', '0.5') .trigger('change'); }