tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkuhn...@apache.org
Subject svn commit: r577934 - in /tapestry/tapestry4/trunk: tapestry-examples/TimeTracker/pom.xml tapestry-framework/src/js/tapestry/widget/TimePicker.js
Date Thu, 20 Sep 2007 21:35:12 GMT
Author: jkuhnert
Date: Thu Sep 20 14:35:12 2007
New Revision: 577934

URL: http://svn.apache.org/viewvc?rev=577934&view=rev
Log:
Fixes TAPESTRY-1762.  Shouldn't have been adding in document scroll to timepicker x/y coords.

Modified:
    tapestry/tapestry4/trunk/tapestry-examples/TimeTracker/pom.xml
    tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/widget/TimePicker.js

Modified: tapestry/tapestry4/trunk/tapestry-examples/TimeTracker/pom.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-examples/TimeTracker/pom.xml?rev=577934&r1=577933&r2=577934&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-examples/TimeTracker/pom.xml (original)
+++ tapestry/tapestry4/trunk/tapestry-examples/TimeTracker/pom.xml Thu Sep 20 14:35:12 2007
@@ -4,12 +4,12 @@
     <groupId>org.apache.tapestry</groupId>
     <artifactId>tapestry-TimeTracker</artifactId>
     <packaging>war</packaging>
-    <version>4.1.3</version>
+    <version>4.1.4-SNAPSHOT</version>
     <!-- This should change to tapestry-project -->
     <parent>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>tapestry-examples</artifactId>
-        <version>4.1.3</version>
+        <version>4.1.4-SNAPSHOT</version>
     </parent>
     <name>Tapestry Time Tracker</name>
     <inceptionYear>2006</inceptionYear>
@@ -18,17 +18,17 @@
         <dependency>
             <groupId>org.apache.tapestry</groupId>
             <artifactId>tapestry-framework</artifactId>
-            <version>4.1.3</version>
+            <version>4.1.4-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.tapestry</groupId>
             <artifactId>tapestry-annotations</artifactId>
-            <version>4.1.3</version>
+            <version>4.1.4-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>org.apache.tapestry</groupId>
             <artifactId>tapestry-contrib</artifactId>
-            <version>4.1.3</version>
+            <version>4.1.4-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>hivemind</groupId>

Modified: tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/widget/TimePicker.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/widget/TimePicker.js?rev=577934&r1=577933&r2=577934&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/widget/TimePicker.js (original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/widget/TimePicker.js Thu Sep
20 14:35:12 2007
@@ -206,7 +206,6 @@
 	    this.inputNode.style.display=oldDisplay;
 
         var view=dojo.html.getViewport();
-        var scroll=dojo.html.getScroll();
 
         var ddX = inputPos.x + mb.width - this.dropdownDim.width;
         if (ddX < 0){
@@ -219,11 +218,7 @@
         } else {
             ddY = inputPos.y + mb.height;
         }
-
-        if (dojo.render.html.ie && scroll.top > 0){
-            ddY -= scroll.top;
-        }
-
+        
         this.dropdownNode.style["top"]=ddY+'px';
         this.dropdownNode.style["left"]=ddX+'px';
         



Mime
View raw message