mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 07:52:29 +03:00
Default value for the working plan exceptions in table view
This commit is contained in:
parent
bde91f5a14
commit
b45fd3acd6
1 changed files with 1 additions and 1 deletions
|
@ -847,7 +847,7 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
|
||||||
|
|
||||||
function createNonWorkingHours($calendar, provider) {
|
function createNonWorkingHours($calendar, provider) {
|
||||||
var workingPlan = JSON.parse(provider.settings.working_plan);
|
var workingPlan = JSON.parse(provider.settings.working_plan);
|
||||||
var workingPlanExceptions = JSON.parse(provider.settings.working_plan_exceptions);
|
var workingPlanExceptions = JSON.parse(provider.settings.working_plan_exceptions) || {};
|
||||||
var view = $calendar.fullCalendar('getView');
|
var view = $calendar.fullCalendar('getView');
|
||||||
var start = view.start.clone();
|
var start = view.start.clone();
|
||||||
var end = view.end.clone();
|
var end = view.end.clone();
|
||||||
|
|
Loading…
Reference in a new issue