Fix bug where folders list would scroll to top when clicking on subscription checkbox (#5447)

pull/5449/head
Aleksander Machniak 8 years ago
parent e76acb8f0c
commit c13119b81c

@ -40,6 +40,7 @@ CHANGELOG Roundcube Webmail
- Managesieve: Unhide advanced rule controls if there are inputs with errors
- Managesieve: Display warning message when filter form contains errors
- Control search engine crawlers via X-Robots-Tag header instead of <meta> and robots.txt (#5098)
- Fix bug where folders list would scroll to top when clicking on subscription checkbox (#5447)
RELEASE 1.2.2
-------------

@ -191,6 +191,10 @@ function rcube_treelist_widget(node, p)
// catch focus when clicking the list container area
if (p.parent_focus) {
container.parent(':not(body)').click(function(e) {
// click on a checkbox does not catch the focus
if ($(e.target).is('input'))
return true;
if (!has_focus && selection) {
$(get_item(selection)).find(':focusable').first().focus();
}

Loading…
Cancel
Save