[Pieforms-commit] SF.net SVN: pieforms: [166] pieforms-php5/trunk/src/static/core/pieforms.js
Status: Alpha
Brought to you by:
oracleshinoda
From: <ora...@us...> - 2007-01-11 09:42:54
|
Revision: 166 http://svn.sourceforge.net/pieforms/?rev=166&view=rev Author: oracleshinoda Date: 2007-01-11 01:42:55 -0800 (Thu, 11 Jan 2007) Log Message: ----------- Set the width of the wrapper to match the correct width, so that the grippie doesn't have to force the textarea to have 100% width Modified Paths: -------------- pieforms-php5/trunk/src/static/core/pieforms.js Modified: pieforms-php5/trunk/src/static/core/pieforms.js =================================================================== --- pieforms-php5/trunk/src/static/core/pieforms.js 2007-01-11 09:42:12 UTC (rev 165) +++ pieforms-php5/trunk/src/static/core/pieforms.js 2007-01-11 09:42:55 UTC (rev 166) @@ -60,7 +60,7 @@ this.grippie.dimensions = getElementDimensions(this.grippie); // Set wrapper and textarea dimensions - setElementDimensions(this.wrapper, {'h': this.dimensions.h + this.grippie.dimensions.h + 1}); + setElementDimensions(this.wrapper, {'h': this.dimensions.h + this.grippie.dimensions.h + 1, 'w': this.dimensions.w}); setStyle(this.element, { 'margin-bottom': '0', 'width': '100%', @@ -82,7 +82,6 @@ this.grippie.style.width = '100%'; this.grippie.style.paddingLeft = '2px'; setStyle(this.grippie, { - 'width': '100%', 'padding-left': '2px' }); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |