Elastic: Keep original line wrapping in Message headers dialog

pull/6632/head
Aleksander Machniak 6 years ago
parent 9b553aa2e0
commit e7816ccd36

@ -49,7 +49,10 @@ if ($uid) {
$OUTPUT->add_handlers(array('dialogcontent' => 'rcmail_headers_output')); $OUTPUT->add_handlers(array('dialogcontent' => 'rcmail_headers_output'));
if (!$inline) { if ($inline) {
$OUTPUT->set_env('dialog_class', 'text-nowrap');
}
else {
$OUTPUT->command('set_headers', $source); $OUTPUT->command('set_headers', $source);
} }
} }

@ -1,6 +1,6 @@
<roundcube:include file="includes/layout.html" /> <roundcube:include file="includes/layout.html" />
<div class="content frame-content"> <div class="content frame-content <roundcube:var name="env:dialog_class" />">
<roundcube:object name="dialogcontent" /> <roundcube:object name="dialogcontent" />
</div> </div>

Loading…
Cancel
Save