rem: 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; } 
add: if (!gBookmarksTree.collapsed) selectFolder(gSelectedFolder); 
context: function selectMenulistFolder(aEvent){  gSelectedFolder = RDF.GetResource(aEvent.target.id);  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;  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/bce365ab6bd712c045837f686e898b8db5b8fd8c/addBookmark2.js/clean/browser/components/bookmarks/content/addBookmark2.js