rem: if (caltype.value == '') caltype.value='month'; 
add: if (caltype.value == '') caltype.value='month'; 
context: function printCalendar() {  var caltype=document.getElementById("view-field");  if (caltype.value == '') caltype.value='month';  var printFunction;  var  printFunctionArg = gStartDate ;  switch(caltype.value ) {  case 'month' :    printFunction = "printMonthView" ;    break ;  case 'list' :    printFunction = "printEventArray" ;    printFunctionArg = gSelectedEvents ;    break ;  case 'day' :    printFunction = "printDayView" ;    break ;  case 'week' :    printFunction = "printWeekView" ;    break ;  case 'multiweek' :    printFunction = "printMultiWeekView" ;    break ;  default :    alert("Error : no case in printDialog.js::printCalendar()");    return false ;  }  printInitWindow(printFunction,printFunctionArg)  return true ;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/63f5338d9d1c59dff03ace5e06100be8cf15aaf3/printDialog.js/clean/calendar/resources/content/printDialog.js