rem: datepopup.dateField.editDate = datepopup.value; 
context: function onDatePick( datepopup ){   // display the new date in the textbox      datepopup.dateField.value = formatDate( datepopup.value );      // remember the new date in a property, "editDate".  we created on the date textbox      datepopup.dateField.editDate = datepopup.value;   var Now = new Date();   //change the end date of recurring events to today, if the new date is after today and repeat is not checked.   if ( datepopup.value > Now && !getFieldValue( "repeat-checkbox", "checked" ) )    {      document.getElementById( "repeat-end-date-text" ).value = formatDate( datepopup.value );      document.getElementById( "repeat-end-date-text" ).editDate = datepopup.value;   }   updateAdvancedWeekRepeat();         updateAdvancedRepeatDayOfMonth();   updateAddExceptionButton();   updateOKButton();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/eventDialog.js/clean/calendar/resources/content/eventDialog.js