rem: showCalendarView('month'); 
add: var view = currentView();    if (!view.displayCalendar) { showCalendarView('month'); view.goToDay(cdt); return; }    var viewID = view.getAttribute("id"); viewID = viewID.substring(0, viewID.indexOf('-')); showCalendarView(viewID); 
context: function ltnMinimonthPick(minimonth){    if (gMiniMonthLoading)        return;    var cdt = new CalDateTime();    cdt.jsDate = minimonth.value;    cdt = cdt.getInTimezone(calendarDefaultTimezone());    cdt.isDate = true;    if (document.getElementById("displayDeck").selectedPanel !=         document.getElementById("calendar-view-box")) {        showCalendarView('month');    }    currentView().goToDay(cdt);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/46a61ae42d3501d9859bd382baff8a9d0f6989ef/messenger-overlay-sidebar.js/buggy/calendar/lightning/content/messenger-overlay-sidebar.js