fix calendar CSS bug
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3928 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
6114174e47
commit
4d574ca1f2
1 changed files with 2 additions and 0 deletions
|
@ -202,6 +202,8 @@ class CalendarInfo(NodeView):
|
|||
return '?'.join((baseUrl, urlencode(params)))
|
||||
|
||||
def getCssClass(self, day, tag='td'):
|
||||
if not day:
|
||||
return ''
|
||||
classes = []
|
||||
if tag == 'td':
|
||||
if self.isToday(day):
|
||||
|
|
Loading…
Add table
Reference in a new issue