Thomas Bruederli
2014-03-10 519ce2e2ec4b69f29ac7bb7b960641d1350d3218
Avoid bubbling of clicks to treelist expand/collapse toggles
1 files modified
1 ■■■■ changed files
program/js/treelist.js 1 ●●●● patch | view | raw | blame | history
program/js/treelist.js
@@ -81,6 +81,7 @@
  // register click handlers on list
  container.on('click', 'div.treetoggle', function(e){
    toggle(dom2id($(this).parent()));
    e.stopPropagation();
  });
  container.on('click', 'li', function(e){