rem:  var res = this.mDS.getResourceForObject(aObject); try { this.mAttrTree.setAttribute("ref", res.Value); } catch (ex) { debug("ERROR: While rebuilding attribute tree\n" + ex); 
add:  if (aObject != this.mDOMView.rootNode) { this.mDOMView.rootNode = aObject; this.mAttrOutliner.outlinerBoxObject.selection.select(-1); this.mAttrOutliner.outlinerBoxObject.invalidate(); 
context:   set subject(aObject)   {    this.mSubject = aObject;    var deck = document.getElementById("dkContent");        if (aObject.nodeType == 1) {      deck.setAttribute("index", 0);            if (aObject.ownerDocument != this.mDS.document)        this.mDS.document = aObject.ownerDocument;            this.setTextValue("nodeName", aObject.nodeName);      this.setTextValue("nodeType", aObject.nodeType);      this.setTextValue("nodeValue", aObject.nodeValue);      this.setTextValue("namespace", aObject.namespaceURI);        var res = this.mDS.getResourceForObject(aObject);      try {        this.mAttrTree.setAttribute("ref", res.Value);      } catch (ex) {        debug("ERROR: While rebuilding attribute tree\n" + ex);      }    } else {      deck.setAttribute("index", 1);      var txb = document.getElementById("txbTextNodeValue");      txb.value = aObject.nodeValue;    }            this.mObsMan.dispatchEvent("subjectChange", { subject: aObject });  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a7c48464e3280bcd1d3585d7cc0bc61c943ad5a5/domNode.js/clean/extensions/inspector/resources/content/viewers/domNode/domNode.js