rem: var button = document.getElementById("Editor:Style:IsBold"); if (button) { var bold = button.getAttribute("bold");  if ( bold == "true" ) { button.setAttribute( "disabled", false ); } else { button.setAttribute( "disabled", true ); } } else { dump("Can't find bold broadcaster!\n"); } 
add: bold = toolbar.IsBold.getAttribute("bold"); if ( bold == "true" ) { toolbar.boldButton.setAttribute( "disabled", false ); } else { toolbar.boldButton.setAttribute( "disabled", true ); } 
context: function onBoldChange(){  var button = document.getElementById("Editor:Style:IsBold");  if (button)  {    var bold = button.getAttribute("bold");    if ( bold == "true" ) {      button.setAttribute( "disabled", false );    }    else {      button.setAttribute( "disabled", true );    }  }  else  {    dump("Can't find bold broadcaster!\n");  }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/a152976669b5eefdf918a3c66ac8ee8458d41637/EditorCommands.js/buggy/editor/ui/composer/content/EditorCommands.js