Randy Weinstein wrote:

So, I changed: this.treeBoxObject.selection.currentIndex
to: this.view.selection.currentIndex
Assuming this is a tree. If this is not a tree, you'll need to use this.treeBoxObject.view.selection.currentIndex

As well as: this.mOuter.treeBoxObject.selection.selectEventsSuppressed = true;
Should that be: this.mOuter.view.selection.selectEventsSuppressed = true;
Again, assuming that mOuter is a tree.

buuuuuuut... what happens to: var selection = this.treeBoxObject.view.selection;
should this be: var selection = this.view.view.selection; ??????

There's no change necessary here, but if this is a tree, then you can shorten it to this.view.selection
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to