mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-29 10:02:27 +03:00
Corrected syntax error in frontend_book.js
This commit is contained in:
parent
7bfff7bfe0
commit
d4594bd583
1 changed files with 3 additions and 3 deletions
|
@ -170,12 +170,12 @@ window.FrontendBook = window.FrontendBook || {};
|
|||
$('#select-provider').empty();
|
||||
|
||||
$.each(GlobalVariables.availableProviders, function(indexProvider, provider) {
|
||||
$.each(provider.services'], function(indexService, serviceId) {
|
||||
$.each(provider.services, function(indexService, serviceId) {
|
||||
// If the current provider is able to provide the selected service,
|
||||
// add him to the listbox.
|
||||
if (serviceId == currServiceId) {
|
||||
var optionHtml = '<option value="' + provider.id'] + '">'
|
||||
+ provider.first_name'] + ' ' + provider.last_name']
|
||||
var optionHtml = '<option value="' + provider.id + '">'
|
||||
+ provider.first_name + ' ' + provider.last_name
|
||||
+ '</option>';
|
||||
$('#select-provider').append(optionHtml);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue