rem: getElementValue("exceptions-date-picker"); 
add: dateToAdd = getElementValue("exceptions-date-picker"); 
context: function addException(dateToAdd){    if (!dateToAdd) {       // get the date from the date and time box.       // returns a date object       getElementValue("exceptions-date-picker");    }    if ( isAlreadyException( dateToAdd ) )       return;    var DateLabel = (new dateFormater()).getFormatedDate(date);    // add a row to the listbox.    var listbox = document.getElementById("exception-dates-listbox");    // ensure user can see that add occurred (also, avoid bug 231765, bug 250123)    listbox.ensureElementIsVisible( listbox.appendItem( DateLabel, dateToAdd.getTime() ));    // the file list changed - see if we have to enable/disable any buttons    updateAddExceptionButton()    updateDeleteExceptionButton();}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/3153bf611c88a6a4c658d2eda0fe1fb25e0af481/eventDialog.js/buggy/calendar/resources/content/eventDialog.js