rem: var pageUrl  = this.treeView.getCellText(k, col); 
add: var pageUrl  = this.treeView.getCellText(k, col); 
context: function nsTreeController_copy(){  var rangeCount = this.treeSelection.getRangeCount();  if (rangeCount < 1)    return false;     // Build a url that encodes all the select nodes   // as well as their parent nodes  var url = "";  var text = "";  var html = "";  var min = new Object();  var max = new Object();  for (var i = rangeCount - 1; i >= 0; --i) {    this.treeSelection.getRangeAt(i, min, max);    for (var k = max.value; k >= min.value; --k) {      // If one of the selected items is      // a container, ignore it.      if (isContainer(this.tree, k))        continue;      var col = this.tree.columns["URL"];      var pageUrl  = this.treeView.getCellText(k, col);              col = this.tree.columns["Name"];      var pageName = this.treeView.getCellText(k, col);      url += "ID:{" + pageUrl + "};";      url += "NAME:{" + pageName + "};";      text += pageUrl + "\r";      html += "<a href='" + pageUrl + "'>";      if (pageName) html += pageName;        html += "</a><p>";    }   }  if (!url)    return false;  // get some useful components  var trans = Components.classes[nsTransferable_contractid].createInstance(nsITransferable);    if (!gClipboard)    gClipboard = Components.classes[clipboard_contractid].getService(Components.interfaces.nsIClipboard);  gClipboard.emptyClipboard(nsIClipboard.kGlobalClipboard);  this.SetTransferData(trans, "text/unicode", text);  this.SetTransferData(trans, "moz/bookmarkclipboarditem", url);  this.SetTransferData(trans, "text/html", html);  gClipboard.setData(trans, null, nsIClipboard.kGlobalClipboard);  return true;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d33896aeebf97b93e36bfe2d8dd1876235887440/nsTreeController.js/buggy/toolkit/obsolete/content/nsTreeController.js