do NOT remove LF from html mails, as they can appear inside <pre> tags and are necessary there (everything is on one line otherwise)

This commit is contained in:
Ralf Becker 2015-10-28 09:02:13 +00:00
parent d1e48df951
commit e3749bec9d

View File

@ -226,7 +226,7 @@ app.classes.mail = AppJS.extend(
}); });
/*Trigger compose_resizeHandler after the CKEditor is fully loaded*/ /*Trigger compose_resizeHandler after the CKEditor is fully loaded*/
jQuery('#mail-compose').on ('load',function() { jQuery('#mail-compose').on ('load',function() {
if (textAreaWidget && typeof textAreaWidget.ckeditor != 'undefined') if (textAreaWidget && textAreaWidget.ckeditor)
{ {
textAreaWidget.ckeditor.on('instanceReady', function(){that.compose_fieldExpander();}); textAreaWidget.ckeditor.on('instanceReady', function(){that.compose_fieldExpander();});
} }