forked from mirrors/easyappointments
Use the native JSON parse method
This commit is contained in:
parent
b45fd3acd6
commit
b794cb6e74
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
|
||||||
var successCallback = function () {
|
var successCallback = function () {
|
||||||
Backend.displayNotification(EALang.working_plan_exception_saved);
|
Backend.displayNotification(EALang.working_plan_exception_saved);
|
||||||
|
|
||||||
var workingPlanExceptions = jQuery.parseJSON(provider.settings.working_plan_exceptions) || {};
|
var workingPlanExceptions = JSON.parse(provider.settings.working_plan_exceptions) || {};
|
||||||
|
|
||||||
workingPlanExceptions[date] = workingPlanException;
|
workingPlanExceptions[date] = workingPlanException;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue