rem: document.getElementById("menu_DeleteCellContents").setAttribute("acceltext",DelStr); 
add: SafeSetAttribute("menu_DeleteCellContents", "acceltext", delStr); 
context: function EditorSharedStartup(){  // set up JS-implemented commands  SetupControllerCommands();  // Just for convenience  gContentWindow = window._content;  gIsWin = navigator.appVersion.indexOf("Win") != -1;  gIsUNIX = (navigator.appVersion.indexOf("X11") ||              navigator.appVersion.indexOf("nux")) != -1;  gIsMac = !gIsWin && !gIsUNIX;  //dump("IsWin="+gIsWin+", IsUNIX="+gIsUNIX+", IsMac="+gIsMac+"\n");  // Set platform-specific hints for how to select cells  // Mac uses "Cmd", all others use "Ctrl"  var tableKey = GetString(gIsMac ? "XulKeyMac" : "TableSelectKey");  var DragStr = tableKey+GetString("Drag");  var ClickStr = tableKey+GetString("Click");  var DelStr = GetString(gIsMac ? "Clear" : "Del");  document.getElementById("menu_SelectCell").setAttribute("acceltext", ClickStr);  document.getElementById("menu_SelectRow").setAttribute("acceltext", DragStr);  document.getElementById("menu_SelectColumn").setAttribute("acceltext", DragStr);  document.getElementById("menu_SelectAllCells").setAttribute("acceltext", DragStr);  // And add "Del" or "Clear"  document.getElementById("menu_DeleteCellContents").setAttribute("acceltext",DelStr);  // hide UI that we don't have components for  RemoveInapplicableUIElements();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/04c9c4bc50602d58a0e9789761ed5646362b9b65/editor.js/clean/editor/ui/composer/content/editor.js