mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-08 17:12:25 +03:00
Corrected invalid selector use.
This commit is contained in:
parent
fc8bb6c03b
commit
2256505244
1 changed files with 5 additions and 6 deletions
|
@ -41,11 +41,11 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
|
|||
*/
|
||||
$('#reload-appointments').click(function () {
|
||||
_refreshCalendarAppointments(
|
||||
$calendar,
|
||||
$selectFilterItem.val(),
|
||||
$selectFilterItem.find('option:selected').attr('type'),
|
||||
$calendar.fullCalendar('getView').start,
|
||||
$calendar.fullCalendar('getView').end);
|
||||
$('#calendar'),
|
||||
$('#select-filter-item').val(),
|
||||
$('#select-filter-item').find('option:selected').attr('type'),
|
||||
$('#calendar').fullCalendar('getView').start,
|
||||
$('#calendar').fullCalendar('getView').end);
|
||||
});
|
||||
|
||||
/**
|
||||
|
@ -1472,7 +1472,6 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
|
|||
}
|
||||
|
||||
// Automatically refresh the calendar page every 10 seconds (without loading animation).
|
||||
var $loading = $('#loading');
|
||||
var $calendar = $('#calendar');
|
||||
var $selectFilterItem = $('#select-filter-item');
|
||||
|
||||
|
|
Loading…
Reference in a new issue