Author: pyaschenko
Date: 2008-04-07 07:43:46 -0400 (Mon, 07 Apr 2008)
New Revision: 7627
Modified:
branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
Log:
http://jira.jboss.com/jira/browse/RF-2975
Modified:
branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
===================================================================
---
branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2008-04-07
11:39:47 UTC (rev 7626)
+++
branches/3.1.x/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2008-04-07
11:43:46 UTC (rev 7627)
@@ -2031,8 +2031,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);
}
}