Fix to include forwarded message on empty body
a268373550 (r142447419)
[build]
This commit is contained in:
parent
d6bed07aae
commit
68b547d55a
@ -245,6 +245,11 @@ $navigation_type ||= 'reload';
|
||||
my $html_editor_init_script =
|
||||
<<EOF;
|
||||
<script type="text/javascript">
|
||||
function fn_${module_name}_quote_mail_iframe_loaded() {
|
||||
const editor = fn_${module_name}_html_editor_init.editor;
|
||||
editor.root.innerHTML = "\\n" + editor.root.innerHTML;
|
||||
fn_${module_name}_quote_mail_iframe_loaded = null;
|
||||
}
|
||||
function fn_${module_name}_html_editor_init() {
|
||||
const targ = document.querySelector('[$target_attr$target_type"$target_name"]'),
|
||||
qs = Quill.import('attributors/style/size'),
|
||||
@ -277,6 +282,8 @@ my $html_editor_init_script =
|
||||
theme: 'snow'
|
||||
});
|
||||
|
||||
fn_${module_name}_html_editor_init.editor = editor;
|
||||
|
||||
// Google Mail like key bind for creating numbered list (Ctrl+Shift+7)
|
||||
editor.keyboard.addBinding({
|
||||
key: '7',
|
||||
|
@ -3091,6 +3091,9 @@ my $iframe_body = <<EOF;
|
||||
</style>
|
||||
<script>
|
||||
function quote_mail_iframe_onload(iframe) {
|
||||
if (typeof fn_${module_name}_quote_mail_iframe_loaded === 'function') {
|
||||
fn_${module_name}_quote_mail_iframe_loaded(iframe);
|
||||
}
|
||||
if (typeof theme_quote_mail_iframe_onload === 'function') {
|
||||
theme_quote_mail_iframe_onload(iframe);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user