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:
helmutm 2010-07-30 06:26:39 +00:00
parent 6114174e47
commit 4d574ca1f2

View file

@ -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):