Elastic: Fix disappearing sidebar in mail compose after clicking Mail button

Elastic: Fix incorrect aria-disabled attribute on Mail taskmenu button in mail compose
pull/7186/head
Aleksander Machniak 4 years ago
parent 689c761026
commit 93519df826

@ -12,6 +12,8 @@ CHANGELOG Roundcube Webmail
- Enigma: Fix generation of key pairs for identities with IDN domains (#7181)
- Enigma: Display IDN domains of key users and identities in UTF8
- Password: Make chpass-wrapper.py Python 3 compatible (#7135)
- Elastic: Fix disappearing sidebar in mail compose after clicking Mail button
- Elastic: Fix incorrect aria-disabled attribute on Mail taskmenu button in mail compose
- 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

@ -707,7 +707,10 @@ function rcube_elastic_ui()
// In compose/preview window we do not provide "Back" button, instead
// we modify the "Mail" button in the task menu to act like it (i.e. calls 'list' command)
if (!rcmail.env.extwin && (rcmail.env.action == 'compose' || rcmail.env.action == 'show')) {
$('a.mail', layout.menu).attr('onclick', "return rcmail.command('list','',this,event)");
$('a.mail', layout.menu).attr({
'aria-disabled': false,
onclick: "return rcmail.command('list','',this,event);"
});
}
// Append contact menu to all mailto: links
@ -1176,6 +1179,10 @@ function rcube_elastic_ui()
*/
function content_frame_init()
{
if (!layout.list.length) {
return;
}
var last_selected = env.last_selected,
title_reset = function(title) {
if (typeof title !== 'string' || !title.length) {

Loading…
Cancel
Save