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 2005/07/27 14:13:18 UTC
svn commit: r225495 -
/myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/calendar/resource/popcalendar.js
Author: mmarinschek
Date: Wed Jul 27 05:13:09 2005
New Revision: 225495
URL: http://svn.apache.org/viewcvs?rev=225495&view=rev
Log:
fixed onload problem - thanks to Mike Youngstrom
Modified:
myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/calendar/resource/popcalendar.js
Modified: myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/calendar/resource/popcalendar.js
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/calendar/resource/popcalendar.js?rev=225495&r1=225494&r2=225495&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/calendar/resource/popcalendar.js (original)
+++ myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/calendar/resource/popcalendar.js Wed Jul 27 05:13:09 2005
@@ -619,4 +619,14 @@
if(jscalendarIe)
jscalendarInit();
else
- window.onload=jscalendarInit;
\ No newline at end of file
+{
+ var jscalendarOnloadBackup = window.onload;
+
+ function jscalendarOnload()
+ {
+ jscalendarOnloadBackup();
+ jscalendarInit();
+ }
+
+ window.onload=jscalendarOnload;
+}
\ No newline at end of file