mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-09 17:42:21 +03:00
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 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] = {
|
workingPlanExceptions[selectedDate] = {
|
||||||
start: start.toString('HH:mm'),
|
start: start.toString('HH:mm'),
|
||||||
|
|
Loading…
Reference in a new issue