Return-Path: Delivered-To: apmail-tapestry-commits-archive@locus.apache.org Received: (qmail 44922 invoked from network); 20 Sep 2007 21:35:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Sep 2007 21:35:45 -0000 Received: (qmail 61826 invoked by uid 500); 20 Sep 2007 21:35:36 -0000 Delivered-To: apmail-tapestry-commits-archive@tapestry.apache.org Received: (qmail 61571 invoked by uid 500); 20 Sep 2007 21:35:36 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 61562 invoked by uid 99); 20 Sep 2007 21:35:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2007 14:35:36 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2007 21:37:35 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EB0801A9832; Thu, 20 Sep 2007 14:35:12 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@tapestry.apache.org From: jkuhnert@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20070920213512.EB0801A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 @@ org.apache.tapestry tapestry-TimeTracker war - 4.1.3 + 4.1.4-SNAPSHOT org.apache.tapestry tapestry-examples - 4.1.3 + 4.1.4-SNAPSHOT Tapestry Time Tracker 2006 @@ -18,17 +18,17 @@ org.apache.tapestry tapestry-framework - 4.1.3 + 4.1.4-SNAPSHOT org.apache.tapestry tapestry-annotations - 4.1.3 + 4.1.4-SNAPSHOT org.apache.tapestry tapestry-contrib - 4.1.3 + 4.1.4-SNAPSHOT hivemind 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';