Commit 04a8ac27 authored by Eugene Venter's avatar Eugene Venter
Browse files

textarea.js:fix IE js bug caused by trailing comma



Bug #812066

IE 6/7/8 doesn't like trailing commas in JS arrays.

Change-Id: Ibd2c7f62112702403ec6ac55b8f8af16fc2795fb
Signed-off-by: default avatarEugene Venter <eugene@catalyst.net.nz>
parent 06626d19
...@@ -73,7 +73,7 @@ function PieformTextarea(element) {//{{{ ...@@ -73,7 +73,7 @@ function PieformTextarea(element) {//{{{
setElementDimensions(this.wrapper, {'h': this.dimensions.h + this.grippie.dimensions.h + 1, 'w': this.dimensions.w}); setElementDimensions(this.wrapper, {'h': this.dimensions.h + this.grippie.dimensions.h + 1, 'w': this.dimensions.w});
setStyle(this.element, { setStyle(this.element, {
'margin-bottom': '0', 'margin-bottom': '0',
'width': '100%', 'width': '100%'
}); });
// Wrap textarea // Wrap textarea
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment