rem: var repeatEndText = document.getElementById( "repeat-end-date-text" ); var repeatEndPicker = document.getElementById( "repeat-end-date-button" );  
add: var repeatEndText = document.getElementById( "repeat-end-date-picker" );  
context: function updateUntilItemEnabled(){   var repeatUntilRadio = document.getElementById( "repeat-until-radio" );   var repeatCheckBox = document.getElementById( "repeat-checkbox" );      var repeatEndText = document.getElementById( "repeat-end-date-text" );   var repeatEndPicker = document.getElementById( "repeat-end-date-button" );     if( repeatCheckBox.checked && repeatUntilRadio.selected  )   {      repeatEndText.removeAttribute( "disabled"  );      repeatEndText.setAttribute( "popup", "oe-date-picker-popup" );      repeatEndPicker.removeAttribute( "disabled" );      repeatEndPicker.setAttribute( "popup", "oe-date-picker-popup" );   }   else   {      repeatEndText.setAttribute( "disabled", "true" );      repeatEndText.removeAttribute( "popup" );      repeatEndPicker.setAttribute( "disabled", "true" );      repeatEndPicker.removeAttribute( "popup" );   }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarEventDialog.js/buggy/calendar/resources/content/calendarEventDialog.js