rem: var faceType = menuItem.getAttribute("data"); 
add: var faceType = menuItem.getAttribute("value"); 
context: function initFontFaceMenu(menuPopup){  if (menuPopup)  {    var children = menuPopup.childNodes;    if (!children) return;    var firstHas = new Object;    var anyHas = new Object;    var allHas = new Object;    allHas.value = false;    // we need to set or clear the checkmark for each menu item since the selection    // may be in a new location from where it was when the menu was previously opened    // Fixed width (second menu item) is special case: old TT ("teletype") attribute    editorShell.GetTextProperty("tt", "", "", firstHas, anyHas, allHas);    children[1].setAttribute("checked", allHas.value);    var fontWasFound = anyHas.value;    // Skip over default, TT, and separator    for (var i = 3; i < children.length; i++)    {      var menuItem = children[i];      var faceType = menuItem.getAttribute("data");      if (faceType)      {        editorShell.GetTextProperty("font", "face", faceType, firstHas, anyHas, allHas);        // Check the item only if all of selection has the face...        menuItem.setAttribute("checked", allHas.value);        // ...but remember if ANY part of the selection has it        fontWasFound |= anyHas.value;      }    }    // Check the default item if no other item was checked    // note that no item is checked in the case of "mixed" selection    children[0].setAttribute("checked", !fontWasFound);  }    }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0b2dd2b2d2fd037df917e07645fa019a963332a5/editor.js/clean/editor/ui/composer/content/editor.js