Announcement
Collapse
No announcement yet.
X
-
Ok, we'll take a look and update this thread when we've fixed it.
Leave a comment:
-
9.1d: Calendar getBaseStyle returns non-workdaystyle
Hi,
Another thing I noticed with the 9.1d build of 10-10 is that the getBaseStyle seems to compute a wrong base style. First when opening the calendar it shows no non-workdaystyle, then when moving to the previous date all cells are non-workdaystyle.
See the attached images.
I checked/debugged the source code. In the getBaseStyle there is this line:
currRowTime = wStart.duplicate(),
which is later used like this:
Code:if (dayIsWorkday && (!cal.showDayLanes || (wStart.getTime() <= currRowTime && currRowTime < wEnd.getTime()))) { return cal.workdayBaseStyle; } else { return this.baseStyle; }
currRowTime = date.duplicate(),
(date is the celldate)
But possibly there is a better solution.
gr. MartinTags: None
Leave a comment: