add: if (!gBookmarksTree.collapsed) { gBookmarksTree.treeBoxObject.selection.selectEventsSuppressed = true; gBookmarksTree.treeBoxObject.selection.clearSelection(); gBookmarksTree.selectResource(gSelectedFolder); var index = gBookmarksTree.treeBuilder.getIndexOfResource(gSelectedFolder); gBookmarksTree.treeBoxObject.ensureRowIsVisible(index); gBookmarksTree.treeBoxObject.selection.selectEventsSuppressed = false; } 
context: function selectMenulistFolder(aEvent){  gSelectedFolder = RDF.GetResource(aEvent.target.id);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/1f1a132025729bc14e3a192a76b08efde3bff8b8/addBookmark2.js/clean/browser/components/bookmarks/content/addBookmark2.js