diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-03-10 14:31:03 +0100 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-03-10 14:31:03 +0100 |
commit | 519ce2e2ec4b69f29ac7bb7b960641d1350d3218 (patch) | |
tree | f3508fdfcdff16d9a1c4ff3f2b4a7754cd67962b | |
parent | 0c7bc4f5c0937f60ff04a744e372eca932a93e96 (diff) |
Avoid bubbling of clicks to treelist expand/collapse toggles
-rw-r--r-- | program/js/treelist.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/program/js/treelist.js b/program/js/treelist.js index d56e7b8c9..d856fc8ff 100644 --- a/program/js/treelist.js +++ b/program/js/treelist.js @@ -81,6 +81,7 @@ function rcube_treelist_widget(node, p) // register click handlers on list container.on('click', 'div.treetoggle', function(e){ toggle(dom2id($(this).parent())); + e.stopPropagation(); }); container.on('click', 'li', function(e){ |