[jQuery] Re: [treeview] Don't close subtree when clicking on tree "header"

2008-11-13 Thread Dominik Deobald
Great, that was the hint I needed. I changed the code of jquery.treeview.js (line 66-) to: if (settings.toggleonspan !== false) { this.filter(":has(>ul):not(:has(>a))").find(">span").click(function (event) {

[jQuery] Re: [treeview] Don't close subtree when clicking on tree "header"

2008-11-13 Thread Jörn Zaefferer
It depends on the markup. This is selector for that click: ":has(>ul):not(:has(>a))").find(">span") So remove or replace the span on the parent item. Jörn On Thu, Nov 13, 2008 at 4:06 PM, Dominik Deobald <[EMAIL PROTECTED]> wrote: > > I'm using treeview in one of my projects. > > Treeview automa