0001-admin-don-t-adjust-ckeditor-config-if-there-s-no-cke.patch
wcs/qommon/static/js/qommon.wysiwyg.js | ||
---|---|---|
18 | 18 |
}); |
19 | 19 |
$(document).on('wcs:dialog-loaded', function(e, dialog) { |
20 | 20 |
var $textarea = $(dialog).find('div.WysiwygTextWidget textarea'); |
21 |
if ($textarea.length == 0) return; |
|
21 | 22 |
var config = $textarea.data('config'); |
22 | 23 |
config.width = $(dialog).width(); |
23 | 24 |
config.height = $textarea.height() + 100; |
24 |
- |