mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-01 04:12:22 +03:00
Prepend the "any-provider" option to the booking page so that it is the first option displayed.
This commit is contained in:
parent
a9db9a0a92
commit
cbd9e9e41b
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ window.FrontendBook = window.FrontendBook || {};
|
||||||
|
|
||||||
// Add the "Any Provider" entry.
|
// Add the "Any Provider" entry.
|
||||||
if ($('#select-provider option').length >= 1 && GlobalVariables.displayAnyProvider === '1') {
|
if ($('#select-provider option').length >= 1 && GlobalVariables.displayAnyProvider === '1') {
|
||||||
$('#select-provider').append(new Option('- ' + EALang.any_provider + ' -', 'any-provider', true, true));
|
$('#select-provider').prepend(new Option('- ' + EALang.any_provider + ' -', 'any-provider', true, true));
|
||||||
}
|
}
|
||||||
|
|
||||||
FrontendBookApi.getUnavailableDates($('#select-provider').val(), $(this).val(),
|
FrontendBookApi.getUnavailableDates($('#select-provider').val(), $(this).val(),
|
||||||
|
|
Loading…
Reference in a new issue