[richfaces-svn-commits] JBoss Rich Faces SVN: r12166 - 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
Thu Jan 8 18:31:41 EST 2009


Author: nbelaevski
Date: 2009-01-08 18:31:40 -0500 (Thu, 08 Jan 2009)
New Revision: 12166

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

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	2009-01-08 20:49:28 UTC (rev 12165)
+++ trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js	2009-01-08 23:31:40 UTC (rev 12166)
@@ -1934,11 +1934,15 @@
 				}
 				else
 				{
+					//RF-5600
+					this.selectedDate = newSelectedDate;
+
 					// change currentDate and call this.onUpdate();
 					if (this.changeCurrentDate(newSelectedDate.getFullYear(), newSelectedDate.getMonth(), noUpdate))
 					{
-						this.selectedDate = newSelectedDate;
+						//this.selectedDate = newSelectedDate;
 					} else {
+						this.selectedDate = oldSelectedDate;
 						isDateChange = false;
 					}
 				}




More information about the richfaces-svn-commits mailing list