mirror of
https://github.com/wassname/fullcalendar.git
synced 2026-08-19 12:10:12 +08:00
BUGFIX for seankenny/fullcalendar #24
This commit is contained in:
@@ -383,16 +383,18 @@ function ResourceView(element, calendar, viewName) {
|
||||
|
||||
cellsHTML = '';
|
||||
|
||||
for (col=0; col<colCnt; col++) {
|
||||
for (col=0; col<(colCnt||1); col++) {
|
||||
var resource = resources()[col];
|
||||
date = t.intervalStart.clone();
|
||||
|
||||
classNames = [
|
||||
'fc-col' + col,
|
||||
'fc-' + dayIDs[date.day()],
|
||||
resource.className,
|
||||
contentClass
|
||||
];
|
||||
if (resource && resource.className) {
|
||||
classNames.push(resource.className);
|
||||
}
|
||||
if (date.isSame(today, 'day')) {
|
||||
classNames.push(
|
||||
tm + '-state-highlight',
|
||||
|
||||
Reference in New Issue
Block a user