context:   treeClicked: function (aEvent)  {    if (this.tree.selectedItems.length > 1 || aEvent.detail > 1 || aEvent.button != 0) {      gSelectionTracker.clickCount = 0;      return;    }    if (gSelectionTracker.currentItem == this.tree.currentItem &&         gSelectionTracker.currentCell == aEvent.target)       ++gSelectionTracker.clickCount;    else       gSelectionTracker.clickCount = 0;    gSelectionTracker.currentItem = this.tree.currentItem;    gSelectionTracker.currentCell = aEvent.target;    if (gSelectionTracker.currentItem.getAttribute("type") != NC_NS + "Bookmark" &&        gSelectionTracker.currentItem.getAttribute("type") != NC_NS + "Folder")      return;    var row = gSelectionTracker.currentItem.firstChild;    if (row) {      for (var i = 0; i < row.childNodes.length; ++i) {        if (row.childNodes[i] == gSelectionTracker.currentCell) {          // Don't allow inline-edit of cells other than name for folders.           // XXX - so so skeezy. Change this to look for NC:Name or some such.           if (gSelectionTracker.currentItem.getAttribute("type") != NC_NS + "Bookmark" && i)            return;          // Don't allow editing of the root folder name          if (gSelectionTracker.currentItem.id == "NC:BookmarksRoot")            return;          if (gSelectionTracker.clickCount == 1 && this.openClickCount > 1)             gBookmarksShell.commands.editCell(this.tree.currentItem, i);          break;        }      }    }  },
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/0b2dd2b2d2fd037df917e07645fa019a963332a5/bookmarksTree.js/clean/xpfe/components/bookmarks/resources/bookmarksTree.js