Use the native JSON.parse method instead of the jQuery variation
This commit is contained in:
parent
b7ff6cbc16
commit
1a1deb28c2
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ window.BackendCalendarWorkingPlanExceptionsModal = window.BackendCalendarWorking
|
|||
}
|
||||
|
||||
var selectedDate = date.toString('yyyy-MM-dd');
|
||||
var workingPlanExceptions = jQuery.parseJSON(provider.settings.working_plan_exceptions);
|
||||
var workingPlanExceptions = JSON.parse(provider.settings.working_plan_exceptions);
|
||||
|
||||
workingPlanExceptions[selectedDate] = {
|
||||
start: start.toString('HH:mm'),
|
||||
|
|
Loading…
Reference in a new issue