rem: var dateToAdd = document.getElementById( "exceptions-date-picker" ).value; 
add: dateToAdd = document.getElementById( "exceptions-date-picker" ).value; 
context: function addException( dateToAdd ){   if( !dateToAdd )   {      //get the date from the date and time box.      //returns a date object      var dateToAdd = document.getElementById( "exceptions-date-picker" ).value;   }      if( isAlreadyException( dateToAdd ) )      return;   var DateLabel = formatDate( dateToAdd );   //add a row to the listbox   document.getElementById( "exception-dates-listbox" ).appendItem( DateLabel, dateToAdd.getTime() );   sizeToContent();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/10a3489e96ace17cc6ecc1f80442d0bb5d77bf82/eventDialog.js/buggy/calendar/resources/content/eventDialog.js