You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mm...@apache.org on 2006/02/26 11:29:16 UTC
svn commit: r381075 -
/myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/calendar/resource/popcalendar.js
Author: mmarinschek
Date: Sun Feb 26 02:29:13 2006
New Revision: 381075
URL: http://svn.apache.org/viewcvs?rev=381075&view=rev
Log:
added timeout for hideElement
Modified:
myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/calendar/resource/popcalendar.js
Modified: myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/calendar/resource/popcalendar.js
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/calendar/resource/popcalendar.js?rev=381075&r1=381074&r2=381075&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/calendar/resource/popcalendar.js (original)
+++ myfaces/tomahawk/trunk/core/src/main/resources/org/apache/myfaces/custom/calendar/resource/popcalendar.js Sun Feb 26 02:29:13 2006
@@ -409,6 +409,7 @@
this._appendNbsp(this.captionSpan);
this.bPageLoaded = true;
+
}
}
@@ -1367,6 +1368,13 @@
this.calendarDiv.style.visibility = (this.dom || this.ie)? "visible" : "show";
this.bCalendarHidden = false;
+
+
+ //make sure hideElement really hides the element on first startup of the server
+ setTimeout((function()
+ {
+ this._hideElement(this.calendarDiv);
+ }).bind(this), 100);
this._hideElement(this.calendarDiv);