rem:   if (!view.displayCalendar) { 
add:   if (!view.initialized) { 
context: function ltnMinimonthPick(minimonth){    if (gMiniMonthLoading)        return;    var jsDate = minimonth.value;    var cdt = new CalDateTime();    cdt.year = jsDate.getFullYear();    cdt.month = jsDate.getMonth();    cdt.day = jsDate.getDate();    cdt.isDate = true;    if (document.getElementById("displayDeck").selectedPanel !=         document.getElementById("calendar-view-box")) {        var view = currentView();        // We set the display calendar on the views in showCalendarView         // the first time they are shown.        if (!view.displayCalendar) {            showCalendarView('month');            view = currentView();            cdt.timezone = view.timezone;            view.goToDay(cdt);            return;        }        // showCalendarView is going to use the value passed in to switch to        // foo-view, so strip off the -view part of the current view.        var viewID = view.getAttribute("id");        viewID = viewID.substring(0, viewID.indexOf('-'));        showCalendarView(viewID);    }    cdt.timezone = currentView().timezone;    currentView().goToDay(cdt);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/7b976e8acb897034fd42255e1c1cfe707017f85b/messenger-overlay-sidebar.js/buggy/calendar/lightning/content/messenger-overlay-sidebar.js