rem: var currentView = this.currentView; 
add: var currentView = document.getElementById("view-deck").selectedPanel; 
context: CalendarWindow.prototype.pickAndGoToDate = function calWin_pickAndGoToDate( ){  var currentView = this.currentView;  var args = new Object();  args.initialDate = this.getSelectedDate();    args.onOk = function receiveAndGoToDate( pickedDate ) {    currentView.goToDay( pickedDate );    document.getElementById( "lefthandcalendar" ).value = pickedDate;  };  openDialog("chrome://calendar/content/goToDateDialog.xul",             "GoToDateDialog", // target= window name             "chrome,modal", args);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b83b9c785c3c5dd8ae7c87f79f09a1ca6af14029/calendarWindow.js/clean/calendar/resources/content/calendarWindow.js