forked from mirrors/easyappointments
Empty the available hours list before rendering the new time
This commit is contained in:
parent
76f9d2c6b8
commit
c8b6f0fb1c
1 changed files with 2 additions and 0 deletions
|
@ -68,6 +68,8 @@ App.Http.Booking = (function () {
|
|||
};
|
||||
|
||||
$.post(url, data).done((response) => {
|
||||
$availableHours.empty();
|
||||
|
||||
// The response contains the available hours for the selected provider and service. Fill the available
|
||||
// hours div with response data.
|
||||
if (response.length > 0) {
|
||||
|
|
Loading…
Reference in a new issue