Author: pyaschenko
Date: 2009-07-30 07:50:44 -0400 (Thu, 30 Jul 2009)
New Revision: 15062
Modified:
branches/community/3.3.X/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
Log:
https://jira.jboss.org/jira/browse/RF-7600
Modified:
branches/community/3.3.X/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
===================================================================
---
branches/community/3.3.X/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2009-07-30
11:22:59 UTC (rev 15061)
+++
branches/community/3.3.X/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2009-07-30
11:50:44 UTC (rev 15062)
@@ -1133,12 +1133,11 @@
if (!this.params.popup || !this.isVisible) return;
- if (this.isEditorVisible) this.hideEditor();
-
var element = $(this.id);
if (this.invokeEvent("collapse", element))
{
+ if (this.isEditorVisible) this.hideEditor();
Richfaces.removeScrollEventHandlers(this.scrollElements, this.eventOnScroll);
Event.stopObserving(window.document, "click", this.eventOnCollapse, false);