forked from extern/egroupware
Try to fix tracker comments with not enough height
This commit is contained in:
parent
914de29859
commit
c2f7e2ab97
@ -94,8 +94,11 @@ var et2_htmlarea = (function(){ "use strict"; return et2_editableWidget.extend([
|
|||||||
this.editor = null; // TinyMce editor instance
|
this.editor = null; // TinyMce editor instance
|
||||||
this.supportedWidgetClasses = []; // Allow no child widgets
|
this.supportedWidgetClasses = []; // Allow no child widgets
|
||||||
this.htmlNode = jQuery(document.createElement(this.options.readonly ? "div" : "textarea"))
|
this.htmlNode = jQuery(document.createElement(this.options.readonly ? "div" : "textarea"))
|
||||||
.css('height', this.options.height)
|
|
||||||
.addClass('et2_textbox_ro');
|
.addClass('et2_textbox_ro');
|
||||||
|
if(this.options.height)
|
||||||
|
{
|
||||||
|
this.htmlNode.css('height', this.options.height);
|
||||||
|
}
|
||||||
this.setDOMNode(this.htmlNode[0]);
|
this.setDOMNode(this.htmlNode[0]);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user