rem:  if (client.currentObject == this) /* hide the tree while we remove (possibly tons) of nodes */ client.rdf.setTreeRoot("user-list", client.rdf.resNullChan);  client.rdf.clearTargets(this.getGraphResource(), client.rdf.resChanUser, true); 
add: this._clearUserList(); 
context: function my_cpart (e){    this._removeUserFromGraph(e.user);    this.removeUsers([e.user]);    this.updateHeader();    if (userIsMe (e.user))    {        var params = [e.user.unicodeName, e.channel.unicodeName];        this.display (getMsg(MSG_YOU_LEFT, params), "PART", e.user, this);        if (client.currentObject == this)            /* hide the tree while we remove (possibly tons) of nodes */            client.rdf.setTreeRoot("user-list", client.rdf.resNullChan);        client.rdf.clearTargets(this.getGraphResource(),                                client.rdf.resChanUser, true);        if ("partTimer" in this)        {            clearTimeout(this.partTimer);            delete this.partTimer;            this.busy = false;            updateProgress();        }        if (client.currentObject == this)            /* redisplay the tree */            client.rdf.setTreeRoot("user-list", this.getGraphResource());        if (this.deleteWhenDone)            this.dispatch("delete-view");        delete this.deleteWhenDone;    }    else    {        /* We're ok to update this before the message, because the only thing         * that can happen is *disabling* of conference mode.         */        this._updateConferenceMode();        if (!this.prefs["conference.enabled"])        {            var msg = MSG_SOMEONE_LEFT;            if (e.reason)                msg = MSG_SOMEONE_LEFT_REASON;            this.display(getMsg(msg, [e.user.unicodeName, e.channel.unicodeName,                                      e.reason]),                         "PART", e.user, this);        }    }}
meta: 1622	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1622/c42ddd634fe755d5b21122300c099405ed7a30d6/handlers.js/buggy/xul/content/handlers.js