forked from mirrors/easyappointments
Display the any-provider option only if there are more than one providers available for selection
This commit is contained in:
parent
890e3ac4d9
commit
121571f517
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ App.Pages.Booking = (function () {
|
|||
});
|
||||
|
||||
// Add the "Any Provider" entry.
|
||||
if ($selectProvider.find('option').length >= 1 && vars('display_any_provider') === '1') {
|
||||
if ($selectProvider.find('option').length > 1 && vars('display_any_provider') === '1') {
|
||||
$selectProvider.prepend(new Option(lang('any_provider'), 'any-provider', true, true));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue