From d14d0c5ab5a6578ca0af14c42b598fde6d2bf9d3 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 13 Jan 2020 21:05:24 +0100 Subject: [PATCH] Elastic: Fix missing Close button in "more recipients" dialog --- CHANGELOG | 1 + program/steps/mail/func.inc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index a91559b2d..7d5100b47 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -6,6 +6,7 @@ CHANGELOG Roundcube Webmail - Password: Make chpass-wrapper.py Python 3 compatible (#7135) - Elastic: Fix bug where it was possible to switch editor mode when 'htmleditor' was in 'dont_override' (#7143) - Elastic: Fix text selection in recipient inputs (#7129) +- Elastic: Fix missing Close button in "more recipients" dialog - Fix regression where "Open in new window" action didn't work (#7155) - Fix PHP Warning: array_filter() expects parameter 1 to be array, null given in subscriptions_option plugin (#7165) - Fix unexpected error message when mail refresh involves folder auto-unsubscribe (#6923) diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 094e877dc..841df17f4 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -1391,7 +1391,7 @@ function rcmail_address_string($input, $max=null, $linked=false, $addicon=null, $out .= ' ' . html::a(array( 'href' => '#more', 'class' => 'morelink', - 'onclick' => sprintf("return %s.show_popup_dialog('%s','%s')", + 'onclick' => sprintf("return %s.simple_dialog('%s','%s',null,{cancel_button:'close'})", rcmail_output::JS_OBJECT_NAME, rcube::JQ(join(', ', $allvalues)), rcube::JQ($title))