add: document.documentElement.getButton("extra2").collapsed = isCollapsed; if (isCollapsed) document.documentElement.buttons = "accept,cancel"; else { document.documentElement.buttons = "accept,cancel,extra2"; gBookmarksTree.focus(); } 
context: function expandTree(){  setFolderTreeHeight();  var isCollapsed = gBookmarkTree.collapsed;  document.getElementById("expander").setAttribute("class", isCollapsed? "up":"down");  gBookmarkTree.collapsed = !isCollapsed;  sizeToContent();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/00de4479206446cee765f3a13178af4ec6d270fd/addBookmark2.js/clean/browser/components/bookmarks/content/addBookmark2.js