You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ba...@apache.org on 2005/12/02 18:51:17 UTC

svn commit: r351780 - /myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/calendar/resource/popcalendar.js

Author: baranda
Date: Fri Dec  2 09:51:09 2005
New Revision: 351780

URL: http://svn.apache.org/viewcvs?rev=351780&view=rev
Log:
Another fix for MYFACES-870, to make the calendar work ok in IE6

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=351780&r1=351779&r2=351780&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 Fri Dec  2 09:51:09 2005
@@ -43,6 +43,8 @@
       objTop    = obj.offsetTop;
       objParent = obj.offsetParent;
 
+	// this loop has been commented (MYFACES-870)
+	/*
       while( objParent.tagName.toUpperCase() != "BODY" ){
         objLeft  += objParent.offsetLeft;
         objTop   += objParent.offsetTop;
@@ -50,6 +52,7 @@
       }
       
       objParent = obj.offsetParent;
+      */
 
       // added a try-catch to the next loop (MYFACES-870)
       try {