rem: if (!window.arguments[7] && !gKeywordRequired) 
add: if (!gSuggestedKeyword && !gKeywordRequired) { 
context: function Startup(){  sizeToContent(); //XXXpch buggy imo, we shouldn't need it  initServices();  initBMService();  gName = document.getElementById("name");  gRequiredFields.push(gName);  gKeywordRow = document.getElementById("keywordRow");  gKeyword = document.getElementById("keyword");  gGroup = document.getElementById("addgroup");  gExpander = document.getElementById("expander");  gMenulist = document.getElementById("select-menu");  gBookmarksTree = document.getElementById("folder-tree");  gName.value = window.arguments[0];  gName.select();  gName.focus();  gKeyword.value = window.arguments[7];  gKeywordRequired = window.arguments[8];  if (!window.arguments[7] && !gKeywordRequired)    gKeywordRow.hidden = true;  if (gKeywordRequired)    gRequiredFields.push(gKeyword);  onFieldInput();  gSelectedFolder = RDF.GetResource(gMenulist.selectedItem.id);  gExpander.setAttribute("tooltiptext", gExpander.getAttribute("tooltiptextdown"));  gPostData = window.arguments[9];# read the persisted attribute. If it is not present, set a default height.  WSucks = parseInt(gBookmarksTree.getAttribute("height"));  if (!WSucks)    WSucks = 150;  // fix no more persisted class attribute in old profiles  var localStore = RDF.GetDataSource("rdf:local-store");  var rAttribute = RDF.GetResource("class");  var rElement   = RDF.GetResource("chrome://browser/content/bookmarks/addBookmark2.xul#expander");  var rDialog    = RDF.GetResource("chrome://browser/content/bookmarks/addBookmark2.xul");  var rPersist   = RDF.GetResource(NC_NS+"persist");    var rOldValue = localStore.GetTarget(rElement, rAttribute, true);  if (rOldValue) {    localStore.Unassert(rElement, rAttribute, rOldValue, true);    localStore.Unassert(rDialog, rPersist, rElement, true);    gExpander.setAttribute("class", "down");  }} 
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/6196781fdc9443930305f769407b858e8c2ff0ce/addBookmark2.js/clean/browser/components/bookmarks/content/addBookmark2.js