Archive: Fix missing Archive icon in folder selector popup in Elastic

pull/6977/head
Aleksander Machniak 5 years ago
parent 46ee823fd9
commit 2213efc850

@ -6,6 +6,7 @@ CHANGELOG Roundcube Webmail
- Elastic: Fix initial focus on recipients input in mail compose screen
- Redis: Improve error handling and phpredis 5.X support (#6888)
- Archive: Fix bug where next email was not displayed after Archive button use (#6965)
- Archive: Fix missing Archive icon in folder selector popup in Elastic
- Fix bug where cache keys were not case-sensitive on MySQL/MSSQL (#6942)
- Fix so an error is loogged when encryption fails (#6948)

@ -66,16 +66,16 @@ if (window.rcmail) {
else
li = rcmail.get_folder_li(rcmail.env.archive_folder, '', true);
if (li) {
if (li)
$(li).addClass('archive');
// in folder selector popup
rcmail.addEventListener('menu-open', function(p) {
if (p.name == 'folder-selector') {
$('a[rel="' + $('a', li).attr('rel') + '"]', p.obj).parent().addClass('archive');
}
});
}
// in folder selector popup
rcmail.addEventListener('menu-open', function(p) {
if (p.name == 'folder-selector') {
var search = rcmail.env.archive_folder;
$('a', p.obj).filter(function() { return $(this).data('id') == search; }).parent().addClass('archive');
}
});
}
});
}

Loading…
Cancel
Save