Attachment #57388: hack to editor.js to make this work for bug #101982

View | Details | Raw Unified | Return to bug 101982
Collapse All | Expand All

(-)editor.js (+4 lines)
Line     Link Here 
 Lines 2038-2043    Link Here 
2038
  var state = commandNode.getAttribute("state");
2038
  var state = commandNode.getAttribute("state");
2039
2039
2040
  button.checked = state == "true";
2040
  button.checked = state == "true";
2041
2042
  // XXX why doesn't button.checked make the right thing happen here?
2043
  // Did it ever?
2044
  button.setAttribute("checked", state);
2041
}
2045
}
2042
2046
2043
//--------------------------------------------------------------------
2047
//--------------------------------------------------------------------

Return to bug 101982