Fix bug where recipient input initialization didn't display non-empty Cc/Bcc inputs (#123)

pull/5742/merge
Aleksander Machniak 7 years ago
parent 058037f31d
commit 4120aca6b4

@ -182,9 +182,6 @@ function rcube_elastic_ui()
(is_framed ? parent.UI : ref).register_content_buttons(content_buttons); (is_framed ? parent.UI : ref).register_content_buttons(content_buttons);
$('[data-recipient-input]').each(function() { recipient_input(this); });
$('.image-upload').each(function() { image_upload_input(this); });
// Mail compose features // Mail compose features
if (form = rcmail.gui_objects.messageform) { if (form = rcmail.gui_objects.messageform) {
form = $('form[name="' + form + '"]'); form = $('form[name="' + form + '"]');
@ -213,6 +210,13 @@ function rcube_elastic_ui()
}); });
} }
// Use smart recipient inputs
// This have to be after mail compose feature above
$('[data-recipient-input]').each(function() { recipient_input(this); });
// Image upload widget
$('.image-upload').each(function() { image_upload_input(this); });
// Add HTML/Plain tabs (switch) on top of textarea with TinyMCE editor // Add HTML/Plain tabs (switch) on top of textarea with TinyMCE editor
$('textarea[data-html-editor]').each(function() { html_editor_init(this); }); $('textarea[data-html-editor]').each(function() { html_editor_init(this); });

Loading…
Cancel
Save