forked from mirrors/easyappointments
The sticky table header fix must be applied on single dates as well cause the calendar view width might be larger as well.
This commit is contained in:
parent
d4360bef80
commit
3348175b91
1 changed files with 3 additions and 7 deletions
|
@ -56,13 +56,9 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
|
||||||
_createView(startDate, endDate);
|
_createView(startDate, endDate);
|
||||||
|
|
||||||
// Horizontal scrolling fix for sticky table headers.
|
// Horizontal scrolling fix for sticky table headers.
|
||||||
if ($(this).val() === 1) {
|
stickyTableHeaderInterval = setInterval(function() {
|
||||||
clearInterval(stickyTableHeaderInterval);
|
$(window).trigger('resize.stickyTableHeaders');
|
||||||
} else {
|
}, 1000);
|
||||||
stickyTableHeaderInterval = setInterval(function() {
|
|
||||||
$(window).trigger('resize.stickyTableHeaders');
|
|
||||||
}, 1000);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$calendarToolbar.on('click', '#reload-appointments', function() {
|
$calendarToolbar.on('click', '#reload-appointments', function() {
|
||||||
|
|
Loading…
Reference in a new issue