rem: document.getElementById( "calendar-new-eventwindow" ).getButton( "accept" ).setAttribute( "disabled", true ); 
add: document.getElementById( "calendar-new-component-window" ).getButton( "accept" ).setAttribute( "disabled", true ); 
context: function setOkButton(state){   if (state == false)      document.getElementById( "calendar-new-eventwindow" ).getButton( "accept" ).setAttribute( "disabled", true );   else      document.getElementById( "calendar-new-eventwindow" ).getButton( "accept" ).removeAttribute( "disabled" );}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e83fac781ea3f2e95dbfffb8513f48c3d509f9d7/eventDialog.js/clean/calendar/resources/content/eventDialog.js