Hi,

I'd reply to my own message, but it doesn't get mailed to me, apologies
for a new thread.

I inadvertently pasted an earlier version of my fix to the bug in
AbstractTreeItem.js.  Here is the correct fix:

      var oldParent = treeItem.getParent();
      if (oldParent) {
        if (oldParent == this && index >
this.__children.indexOf(treeItem)) {
            index--; // otherwise we get an exception
        }
        oldParent.remove(treeItem);
      }

The incorrect version had this.indexOf(treeItem) instead of
this.__children.indexOf(treeItem)

Thanks,
Greg

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to