rem: document.getElementById( "ok" ).setAttribute( "disabled", !( CheckEndTime && CheckRecurTime ) ); 
add: document.getElementById( "calendar-new-eventwindow" ).getButton( "accept" ).setAttribute( "disabled", !( CheckEndTime && CheckRecurTime ) ); 
context: function updateOKButton(){   var CheckEndTime = checkEndTime();   var CheckRecurTime = checkRecurTime();      document.getElementById( "ok" ).setAttribute( "disabled", !( CheckEndTime && CheckRecurTime ) );}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e34af51fe03f0f967d33a7667ac8598dbc0415f5/eventDialog.js/clean/calendar/resources/content/eventDialog.js