rem:  document.getElementById("calendar_toggle_orientation_command") .setAttribute("disabled", "true"); } 
add:  document.getElementById("calendar_toggle_orientation_command") .setAttribute("disabled", "true");  window.setCursor("auto"); } 
context: function ltnSwitch2Mail() {    if (gCurrentMode != 'mail') {        var switch2mail = document.getElementById("switch2mail");        var switch2calendar = document.getElementById("switch2calendar");        switch2mail.setAttribute("checked", "true");        switch2calendar.removeAttribute("checked");        gCurrentMode = 'mail';        var mailToolbar = getMailBar();        var calendarToolbar = document.getElementById("calendar-toolbar");        mailToolbar.removeAttribute("collapsed");        calendarToolbar.setAttribute("collapsed", "true");        // the content panel should display the folder tree        var contentDeck = document.getElementById("contentPanel");        contentDeck.selectedPanel = document.getElementById("folderPaneBox");        // display the mail panel on the display deck        var viewBox = document.getElementById("calendar-view-box");        collapseElement(viewBox);        // tell thunderbird that it needs to refresh the mail list.        // basically, we fake a selection change by directly calling        // the appropriate handler while clearing out some internal        // variables in order to force a refresh of the mail views.        gMsgFolderSelected = null;        msgWindow.openFolder = null;        ShowThreadPane();        FolderPaneSelectionChange();        document.commandDispatcher.updateCommands('mail-toolbar');        document.commandDispatcher.updateCommands('calendar_commands');        // Disable the rotate view menuitem        document.getElementById("calendar_toggle_orientation_command")                .setAttribute("disabled", "true");    }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/4f4c0eb29c387abfad079877e7c95e6882509c89/messenger-overlay-toolbar.js/buggy/calendar/lightning/content/messenger-overlay-toolbar.js