rem: var datePickerValue = getDateTimeFieldValue( "exception-dates-text" ); 
add: var datePickerValue = document.getElementById( "exceptions-date-picker" ).value; 
context: function updateAddExceptionButton(){   //get the date from the picker   var datePickerValue = getDateTimeFieldValue( "exception-dates-text" );      if( isAlreadyException( datePickerValue ) || document.getElementById( "repeat-checkbox" ).getAttribute( "checked" ) != "true" )   {      document.getElementById( "exception-add-button" ).setAttribute( "disabled", "true" );   }   else   {      document.getElementById( "exception-add-button" ).removeAttribute( "disabled" );   }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarEventDialog.js/buggy/calendar/resources/content/calendarEventDialog.js