rem: var bundle = document.getElementById("xpinstallBundle"); var okButton = bundle.getString("OK"); document.getElementById("ok").label = okButton; 
add: var okText = document.getElementById("xpinstallBundle").getString("OK"); var okButton = document.getElementById("ok") okButton.label = okText; okButton.focus(); 
context: function onLoad(){  var row = 0;  var moduleName, URL, numberOfDialogTreeElements;  doSetOKCancel(onOk, onCancel);  gParam = window.arguments[0].QueryInterface(Components.interfaces.nsIDialogParamBlock);  gParam.SetInt(0, 1 ); /* Set the default return to Cancel */  numberOfDialogTreeElements = gParam.GetInt(1);  for (var i=0; i < numberOfDialogTreeElements; i++)  {    moduleName = gParam.GetString(i);    URL = gParam.GetString(++i);    addTreeItem(row++, moduleName, URL);  }  var bundle = document.getElementById("xpinstallBundle");  var okButton = bundle.getString("OK");  document.getElementById("ok").label = okButton;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/3e8b664f6f383bdcc9add658c7fec6924f31243b/institems.js/buggy/xpinstall/res/content/institems.js