Return-Path: Delivered-To: apmail-myfaces-commits-archive@www.apache.org Received: (qmail 77010 invoked from network); 11 Aug 2009 14:06:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Aug 2009 14:06:33 -0000 Received: (qmail 48443 invoked by uid 500); 11 Aug 2009 14:06:39 -0000 Delivered-To: apmail-myfaces-commits-archive@myfaces.apache.org Received: (qmail 48339 invoked by uid 500); 11 Aug 2009 14:06:39 -0000 Mailing-List: contact commits-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list commits@myfaces.apache.org Received: (qmail 48330 invoked by uid 99); 11 Aug 2009 14:06:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Aug 2009 14:06:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Aug 2009 14:06:37 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 97BC323888A2; Tue, 11 Aug 2009 14:06:17 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r803132 - /myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/inputSuggest.js Date: Tue, 11 Aug 2009 14:06:17 -0000 To: commits@myfaces.apache.org From: lofwyr@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090811140617.97BC323888A2@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: lofwyr Date: Tue Aug 11 14:06:17 2009 New Revision: 803132 URL: http://svn.apache.org/viewvc?rev=803132&view=rev Log: TOBAGO-606: Layout-Manager - fix script (from Marcus) Modified: myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/inputSuggest.js Modified: myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/inputSuggest.js URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/inputSuggest.js?rev=803132&r1=803131&r2=803132&view=diff ============================================================================== --- myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/inputSuggest.js (original) +++ myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/inputSuggest.js Tue Aug 11 14:06:17 2009 @@ -36,6 +36,8 @@ var className = input.className; var width = input.style.width; var height = input.style.height.replace(/\D/g, ""); + var left = input.style.left; + var onTop = input.style.top; var combo = new dijit.form.ComboBox({ name: elementId, autocomplete: false, @@ -47,7 +49,10 @@ combo.staticClass = table.className.replace("dijitTextBox", className); table.className = combo.staticClass + " dijitTextBox"; table.style.width = width; - table.style.height = height + "px"; + table.style.height = (height - 2) + "px"; + table.style.position = "absolute"; + table.style.left = left; + table.style.top = onTop; input = Tobago.element(elementId); input.className = className; input.style.width = width;