[richfaces-svn-commits] JBoss Rich Faces SVN: r12049 - 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
Mon Dec 29 10:43:38 EST 2008


Author: pyaschenko
Date: 2008-12-29 10:43:38 -0500 (Mon, 29 Dec 2008)
New Revision: 12049

Modified:
   trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
Log:
https://jira.jboss.org/jira/browse/RF-4567

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	2008-12-29 15:13:26 UTC (rev 12048)
+++ trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js	2008-12-29 15:43:38 UTC (rev 12049)
@@ -1571,8 +1571,6 @@
 		
 		// render
 		this.renderHF();
-		this.renderHeaderOptional();
-		this.renderFooterOptional();
 		
 		//days render
 		p=0;
@@ -1706,6 +1704,9 @@
 	{
 		if (this.params.showHeader) this.renderMarkup(this.params.headerMarkup, this.id+"Header", this.calendarContext);
 		if (this.params.showFooter) this.renderMarkup(this.params.footerMarkup, this.id+"Footer", this.calendarContext);
+		
+		this.renderHeaderOptional();
+		this.renderFooterOptional();			
 	},
 
 	renderHeaderOptional: function()




More information about the richfaces-svn-commits mailing list