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

pull/5754/head
Aleksander Machniak 8 years ago
parent 444fdb6161
commit af4ddddb21

@ -1,6 +1,8 @@
CHANGELOG Roundcube Webmail
===========================
- Fix bug where folders list would scroll to top when clicking on subscription checkbox (#5447)
RELEASE 1.2.2
-------------
- Enigma: Add possibility to configure gpg-agent binary location (enigma_pgp_agent)

@ -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