mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 10:02:33 +03:00
Fix refresh Appointments MONTH calendarView : current2active
Fix undisplayed appointments if not in this current month and if moved by D&D on prev/next month days view (displace OK), but after auto refresh, appointment disapear in view... After little fear, it exist in db :) Need to choose prev/next month (where is moved) to see it. see https://fullcalendar.io/docs/view-object
This commit is contained in:
parent
40cab55a02
commit
ea4be0162e
1 changed files with 6 additions and 6 deletions
|
@ -56,8 +56,8 @@ App.Utils.CalendarDefaultView = (function () {
|
||||||
$calendar,
|
$calendar,
|
||||||
$selectFilterItem.val(),
|
$selectFilterItem.val(),
|
||||||
$selectFilterItem.find('option:selected').attr('type'),
|
$selectFilterItem.find('option:selected').attr('type'),
|
||||||
calendarView.currentStart,
|
calendarView.activeStart,
|
||||||
calendarView.currentEnd,
|
calendarView.activeEnd,
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1153,8 +1153,8 @@ App.Utils.CalendarDefaultView = (function () {
|
||||||
$calendar,
|
$calendar,
|
||||||
$selectFilterItem.val(),
|
$selectFilterItem.val(),
|
||||||
$('#select-filter-item option:selected').attr('type'),
|
$('#select-filter-item option:selected').attr('type'),
|
||||||
fullCalendar.view.currentStart,
|
fullCalendar.view.activeStart,
|
||||||
fullCalendar.view.currentEnd,
|
fullCalendar.view.activeEnd,
|
||||||
);
|
);
|
||||||
|
|
||||||
$(window).trigger('resize'); // Places the footer on the bottom.
|
$(window).trigger('resize'); // Places the footer on the bottom.
|
||||||
|
@ -1641,8 +1641,8 @@ App.Utils.CalendarDefaultView = (function () {
|
||||||
$calendar,
|
$calendar,
|
||||||
$selectFilterItem.val(),
|
$selectFilterItem.val(),
|
||||||
$selectFilterItem.find('option:selected').attr('type'),
|
$selectFilterItem.find('option:selected').attr('type'),
|
||||||
fullCalendar.view.currentStart,
|
fullCalendar.view.activeStart,
|
||||||
fullCalendar.view.currentEnd,
|
fullCalendar.view.activeEnd,
|
||||||
);
|
);
|
||||||
}, 60000);
|
}, 60000);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue