> But I use the EventListener "contextmenu" to display my context > menu in the tree, I also use a function to create the customized > menu with this case code I don't know where place the > "this.remove".
I remove the old context menu when a new one is constructed. That way you know that it's not possible that it's still in use. I guess you could also listen for the disappear event on it and do the same. Hugh ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel