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

2008-11-13 Thread Dominik Deobald
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 tre

[jQuery] [treeview] Suggestion: function callback after async update

2008-11-13 Thread Dominik Deobald
Just a quick suggestion for future versions of treeview: I've added if (typeof(settings.asyncload) == 'function') { settings.asyncload(container); } at the end of the async load function to be able to inject some of my own code after an AJ

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

2008-11-13 Thread Dominik Deobald
I'm using treeview in one of my projects. Treeview automatically opens and closes the subtree if you click on an item that contains children. I need the option to allow the user to select an item without closing the subtree. + item 1 <- User clicks here | + item 1.1 | + item 1.2 + ite