rem: dialog.OKButton = document.getElementById("ok"); 
add: dialog.OKButton = document.documentElement.getButton("accept"); 
context: function onLoad(){  var arguments = window.arguments[0];  dialog = {};  dialog.OKButton = document.getElementById("ok");  dialog.nameField = document.getElementById("name");  dialog.nameField.value = arguments.name;  dialog.nameField.select();  dialog.nameField.focus();  // call this when OK is pressed  dialog.okCallback = arguments.okCallback;  // pre select the folderPicker, based on what they selected in the folder pane  dialog.preselectedFolderURI = arguments.preselectedURI;  moveToAlertPosition();  doEnabling();  doSetOKCancel(onOK, onCancel);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/20311b8044d569afbd52e60efc219d8470b1b17c/renameFolderDialog.js/buggy/mailnews/base/resources/content/renameFolderDialog.js