rem: datePickerPopup.setAttribute( "value", dateField.editDate ); 
add: setFieldValue( "oe-date-picker-popup", dateField.editDate, "value" ); 
context: function prepareDatePicker( dateFieldName ){   // get the popup and the field we are editing      var datePickerPopup = document.getElementById( "oe-date-picker-popup" );   var dateField = document.getElementById( dateFieldName );      // tell the date picker the date to edit.      datePickerPopup.setAttribute( "value", dateField.editDate );      // remember the date field that is to be updated by adding a    // property "dateField" to the popup.      datePickerPopup.dateField = dateField;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/e73ed928b8f708de374b049a8af1563244bd627c/eventDialog.js/buggy/calendar/resources/content/eventDialog.js