From 519ce2e2ec4b69f29ac7bb7b960641d1350d3218 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Mon, 10 Mar 2014 09:31:03 -0400
Subject: [PATCH] Avoid bubbling of clicks to treelist expand/collapse toggles

---
 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 d56e7b8..d856fc8 100644
--- a/program/js/treelist.js
+++ b/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){

--
Gitblit v1.9.1