js: force ckeditor textarea width in popups (#83609)
This commit is contained in:
parent
42eaecf796
commit
5c5b83e4d9
|
@ -165,6 +165,10 @@ var gadjo_js = gadjo_js || {};
|
|||
/* get title out of html */
|
||||
var title = $html.find(title_selector).text();
|
||||
|
||||
/* force textarea width so the dialog is sized to properly
|
||||
* embed the ckeditor widget. */
|
||||
$content.find('textarea[data-config]').attr('cols', '80');
|
||||
|
||||
$content.dialog({
|
||||
modal: modal,
|
||||
'title': title,
|
||||
|
|
Loading…
Reference in New Issue