rem: if (this.isContainerOpen) 
add: if ("isContainerOpen" in this && this.isContainerOpen) 
context: function tovr_appchild (child){    if (!(child instanceof TreeOViewRecord))        throw Components.results.NS_ERROR_INVALID_PARAM;    var changeStart = (this.childData.length > 0) ?        this.childData[this.childData.length - 1].calculateVisualRow() :        this.calculateVisualRow();        child.isHidden = false;    child.parentRecord = this;    child.childIndex = this.childData.length;    this.childData.push(child);        if (this.isContainerOpen)    {        if (this.calculateVisualRow() >= 0)        {            this.resort(true);  /* resort, don't invalidate.  we're going to do                                 * that in the onVisualFootprintChanged call. */        }        this.onVisualFootprintChanged(changeStart, child.visualFootprint);    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e711edc14f9f9f43c8fc7d007226dcc5ca78ab65/outliner-utils.js/buggy/extensions/venkman/resources/content/outliner-utils.js