forked from mirrors/easyappointments
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) {
|
||||
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 start = view.start.clone();
|
||||
var end = view.end.clone();
|
||||
|
|
Loading…
Reference in a new issue