Skip to content

Commit 007dce8

Browse files
new: autocomplete when opening filter from message
1 parent 941db56 commit 007dce8

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

modules/imap/output_modules.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,8 @@ protected function output() {
181181
*/
182182
class Hm_Output_filter_message_headers extends Hm_Output_Module {
183183
protected function output() {
184-
$mailbox_list_title = $this->get('mailbox_list_title', array());
185184

186-
187-
$account_name = $mailbox_list_title[1] ?? '';
188-
$mailbox = $this->get('mailbox');
185+
$mailbox_name = $this->get('mailbox_name');
189186

190187
if ($this->get('msg_headers')) {
191188
$txt = '';
@@ -432,8 +429,7 @@ protected function output() {
432429
. $this->trans('Filter similar messages')
433430
. '</a>'
434431
. '<div class="dropdown-menu move_to_location p-3">'
435-
. '<form id="create-filter-form" style="min-width:260px;" account="' . $mailbox_list_title['name'] . '">'
436-
432+
. '<form id="create-filter-form" style="min-width:260px;" account="' . $mailbox_name . '">'
437433
// From (enabled, checked by default)
438434
. '<div class="form-check mb-1">'
439435
. '<input class="form-check-input" type="checkbox" id="use_from" checked>'

0 commit comments

Comments
 (0)