Fix so folders list is scrolled to the selected folder on page load (#5424)

pull/5432/head
Aleksander Machniak 8 years ago
parent 2999cc38a5
commit 4bf4afec68

@ -51,6 +51,7 @@ CHANGELOG Roundcube Webmail
- Fix bug where folder creation could fail if personal namespace contained more than one entry (#5403)
- Fix error causing empty INBOX listing in Firefox when using an URL with user:password specified (#5400)
- Fix PHP warning when handling shared namespace with empty prefix (#5420)
- Fix so folders list is scrolled to the selected folder on page load (#5424)
RELEASE 1.2.1
-------------

@ -110,6 +110,11 @@ function rcube_treelist_widget(node, p)
else
update_data();
// scroll to the selected item
if (selection) {
scroll_to_node(id2dom(selection, true));
}
container.attr('role', 'tree')
.on('focusin', function(e) {
// TODO: only accept focus on virtual nodes from keyboard events

Loading…
Cancel
Save