rem:   if(allDay) { gShowTimeAs = "TRANSPARENT"; updateShowTimeAs(); } 
add: setShowTimeAs(allDay); 
context: function updateAllDay(){  if(gIgnoreUpdate)    return;  //gConsoleService.logStringMessage("### updateAllDay()");  if (!isEvent(window.calendarItem))      return;  var allDay = getElementValue("event-all-day", "checked");  setElementValue("event-starttime", allDay, "timepickerdisabled");  setElementValue("event-endtime", allDay, "timepickerdisabled");  var tzStart = document.getElementById("timezone-starttime");  var tzEnd = document.getElementById("timezone-endtime");  // automatically select "show time as free" if this  // event is said to be all-day.  if(allDay) {    gShowTimeAs = "TRANSPARENT";    updateShowTimeAs();  }  gStartTime.isDate = allDay;  gEndTime.isDate = allDay;  // disable the timezone links if 'allday' is checked OR the  // calendar of this item is read-only. in any other case we  // enable the links.  if(allDay || gIsReadOnly) {    tzStart.setAttribute("disabled","true");    tzEnd.setAttribute("disabled","true");    tzStart.removeAttribute("class");    tzEnd.removeAttribute("class");  } else {    tzStart.removeAttribute("disabled");    tzEnd.removeAttribute("disabled");    tzStart.setAttribute("class","text-link");    tzEnd.setAttribute("class","text-link");  }  updateDateTime();  updateRepeatDetails();  updateAccept();}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/6c3f0f7399cc221089ee72c248e6c99a4b907c3d/sun-calendar-event-dialog.js/buggy/calendar/prototypes/wcap/sun-calendar-event-dialog.js