[richfaces-svn-commits] JBoss Rich Faces SVN: r2548 - trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Tue Aug 28 12:54:08 EDT 2007


Author: pyaschenko
Date: 2007-08-28 12:54:08 -0400 (Tue, 28 Aug 2007)
New Revision: 2548

Modified:
   trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
Log:
RF-667, RF-651

Modified: trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
===================================================================
--- trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js	2007-08-28 16:51:07 UTC (rev 2547)
+++ trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js	2007-08-28 16:54:08 UTC (rev 2548)
@@ -494,9 +494,9 @@
 				if (weekDayCounter==6) weekDayCounter=0; else weekDayCounter++;
 				
 				styleClass = "rich-calendar-days";
-				if (i==this.firstWeekendDayNumber || i==this.secondWeekendDayNumber) styleClass += "rich-calendar-weekends";
+				if (i==this.firstWeekendDayNumber || i==this.secondWeekendDayNumber) styleClass += " rich-calendar-weekends";
 				
-				if (i==6) styleClass += "rich-right-cell";
+				if (i==6) styleClass += " rich-right-cell";
 				htmlTextWeekDayBar+='<td class="'+styleClass+'">'+weekDayHtml+'</td>';
 			}
 			htmlTextWeekDayBar+='</tr>\n';




More information about the richfaces-svn-commits mailing list