rem: if (this.tree.selectedItems.length > 1 || aEvent.detail > 1 || aEvent.button != 0) 
add: if (this.tree.selectedItems.length > 1 || aEvent.detail > 1 || aEvent.button != 0) { gSelectionTracker.clickCount = 0; 
context:   treeClicked: function (aEvent)  {    if (this.tree.selectedItems.length > 1 || aEvent.detail > 1 || aEvent.button != 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;    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.         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)           gBookmarksShell.commands.editCell(this.tree.currentItem, i);        break;      }    }  },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d3a105160704b55d4aba06b54e032b4281cb503e/bookmarksTree.js/buggy/xpfe/components/bookmarks/resources/bookmarksTree.js