I have been able to isolate the error a bit more: it seems to be connected with the opening of an external window while widgets are still being rendered which makes the main window loose focus. If I click into the window again so it gets focus, and then click on the tree node, the error is not raised. If I directly click on the tree, so that the window gets focus, the widget gets focus, and the node DOM element receives a "click" event, the error is raised. But still, I am puzzled why this should be so...
panyasan wrote: > > Hello, > > I have a strange issue with mixin methods (this is qx 0.7 from legacy > svn): I have a treeVirtual widget to which I apply a mixin in the > application's "main" method which contains a "getClientNodeId" method. The > application starts up, everything is wonderful. When I click on a node, > this triggers a call to a mixin method. On the first time I do this, > javascript raises an error "tree.getClientNodeId is not a function" error. > The second time I click, everything works as expected. Does anybody have > an idea why this might be so? > > Thanks, > > Christian > -- View this message in context: http://www.nabble.com/Mixin-methods-not-ready-when-called-%280.7-SVN%29-tp20065634p20101094.html Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
