Author: pyaschenko
Date: 2008-03-24 06:57:02 -0400 (Mon, 24 Mar 2008)
New Revision: 7103
Modified:
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
Log:
http://jira.jboss.com/jira/browse/RF-2711
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-03-24
10:36:55 UTC (rev 7102)
+++
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2008-03-24
10:57:02 UTC (rev 7103)
@@ -2062,8 +2062,8 @@
var date = new Date(this.selectedDate.getFullYear(), this.selectedDate.getMonth(),
this.selectedDate.getDate(), h, m, 0);
if (date-this.selectedDate && this.invokeEvent("timeselect",null,
null, date))
{
+ this.selectedDate = date;
this.renderHF();
- this.selectedDate = date;
this.invokeEvent("timeselected",null, null, this.selectedDate);
}
}