Author: pyaschenko
Date: 2008-08-26 07:24:53 -0400 (Tue, 26 Aug 2008)
New Revision: 10190
Modified:
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
Log:
https://jira.jboss.org/jira/browse/RF-3846
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-08-25
19:50:44 UTC (rev 10189)
+++
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2008-08-26
11:24:53 UTC (rev 10190)
@@ -894,7 +894,7 @@
createEditor: function()
{
var element = $(this.id);
- var htmlBegin = '<div id="'+this.EDITOR_SHADOW_ID+'"
class="rich-calendar-editor-shadow" style="position:absolute;
display:none;"></div><table border="0"
cellpadding="0" cellspacing="0"
id="'+this.EDITOR_ID+'" style="position:absolute;
display:none;"><tbody><tr><td
class="rich-calendar-editor-container" align="center"><div
style="position:relative; width:100%">';
+ var htmlBegin = '<div id="'+this.EDITOR_SHADOW_ID+'"
class="rich-calendar-editor-shadow" style="position:absolute;
display:none;"></div><table border="0"
cellpadding="0" cellspacing="0"
id="'+this.EDITOR_ID+'" style="position:absolute;
display:none;"
onclick="$(\''+this.id+'\').component.skipEventOnCollapse=true;"><tbody><tr><td
class="rich-calendar-editor-container" align="center"><div
style="position:relative; width:100%">';
var htmlContent = '<div id="'+this.EDITOR_LAYOUT_SHADOW_ID+'"
class="rich-calendar-editor-layout-shadow"></div>';
var htmlEnd =
'</div></td></tr></tbody></table>';
@@ -1230,6 +1230,7 @@
if (Event.element(e).id == this.POPUP_BUTTON_ID || (!this.params.enableManualInput
&& Event.element(e).id == this.INPUT_DATE_ID) ) return true;
//Position.prepare();
+ // TODO: remove line below and check functionality
if (Position.within($(this.id), Event.pointerX(e), Event.pointerY(e))) return true;
this.doCollapse();