Update working plan exceptions modal references of the calendar page.
This commit is contained in:
parent
7704fc1223
commit
355f49f706
3 changed files with 9 additions and 3 deletions
|
@ -71,7 +71,7 @@ window.BackendCalendar = window.BackendCalendar || {};
|
|||
throw new Error('Provider could not be found: ' + providerId);
|
||||
}
|
||||
|
||||
WorkingPlanExceptionsModal.add().done(function (date, workingPlanException) {
|
||||
App.Components.WorkingPlanExceptionsModal.add().done(function (date, workingPlanException) {
|
||||
var successCallback = function () {
|
||||
Backend.displayNotification(App.Lang.working_plan_exception_saved);
|
||||
|
||||
|
|
|
@ -77,7 +77,10 @@ window.BackendCalendarDefaultView = window.BackendCalendarDefaultView || {};
|
|||
var workingPlanException = lastFocusedEventData.data.workingPlanException;
|
||||
var provider = lastFocusedEventData.data.provider;
|
||||
|
||||
WorkingPlanExceptionsModal.edit(date, workingPlanException).done(function (date, workingPlanException) {
|
||||
App.Components.WorkingPlanExceptionsModal.edit(date, workingPlanException).done(function (
|
||||
date,
|
||||
workingPlanException
|
||||
) {
|
||||
var successCallback = function () {
|
||||
Backend.displayNotification(App.Lang.working_plan_exception_saved);
|
||||
|
||||
|
|
|
@ -154,7 +154,10 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
|
|||
var workingPlanException = lastFocusedEventData.data.workingPlanException;
|
||||
var provider = lastFocusedEventData.data.provider;
|
||||
|
||||
WorkingPlanExceptionsModal.edit(date, workingPlanException).done(function (date, workingPlanException) {
|
||||
App.Components.WorkingPlanExceptionsModal.edit(date, workingPlanException).done(function (
|
||||
date,
|
||||
workingPlanException
|
||||
) {
|
||||
var successCallback = function () {
|
||||
Backend.displayNotification(App.Lang.working_plan_exception_saved);
|
||||
|
||||
|
|
Loading…
Reference in a new issue