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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/a4f3ed989c613caecc6b46ba963d61070bd7087d/renameFolderDialog.js/clean/mailnews/base/resources/content/renameFolderDialog.js