[richfaces-svn-commits] JBoss Rich Faces SVN: r2869 - 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 Sep 11 09:23:21 EDT 2007
Author: pyaschenko
Date: 2007-09-11 09:23:21 -0400 (Tue, 11 Sep 2007)
New Revision: 2869
Modified:
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
Log:
revert to the version before RF-877
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-09-11 12:47:37 UTC (rev 2868)
+++ trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-09-11 13:23:21 UTC (rev 2869)
@@ -577,7 +577,7 @@
if (baseInput && baseInput.value!=undefined)
{
- this.selectDate(baseInput.value);
+ this.selectDate(baseInput.value, true);
}
var iframe = $(this.IFRAME_ID);
@@ -1267,17 +1267,8 @@
resetSelectedDate: function()
{
if (!this.selectedDate) return;
- if (this.invokeEvent("dateselect", null, null, null))
+ if (this.selectDate(null))
{
- this.selectedDate = null;
- $(this.INPUT_DATE_ID).value = "";
- if (this.selectedDateElement)
- {
- Element.removeClassName(this.selectedDateElement, "rich-calendar-select");
- this.selectedDateElement = null;
- }
- this.renderHeader();
- this.renderFooter();
this.doCollapse();
}
},
More information about the richfaces-svn-commits
mailing list