rem: if (id == "calendar-view-box") { 
add: if (id == "calendar-view-box" || id == "calendar-task-box") { 
context: function updateTodayPaneDisplay() {  var deck = document.getElementById("displayDeck");  var id = null;  try { id = deck.selectedPanel.id } catch (e) { }  var todaysplitter = document.getElementById("today-splitter");  if (id == "calendar-view-box") {    // we collapse the todaypane but don't not affect the     // attribute "collapsedinMailMode". Therefor this function is only to be used    // when switching to calendar mode    var oTodayPane = document.getElementById("today-pane-panel");    oTodayPane.setAttribute("collapsed", true);    document.getElementById('cmd_toggleTodayPane').setAttribute("disabled","true");    todaysplitter.setAttribute("collapsed", "true");  }  else {    // only show the today-pane if was not collapsed during the last     // "mail-mode session"    var oTodayPane = document.getElementById("today-pane-panel");    if (!oTodayPane.hasAttribute("collapsedinMailMode")) {      if (oTodayPane.hasAttribute("collapsed")) {        oTodayPane.removeAttribute("collapsed");      }    }    document.getElementById('cmd_toggleTodayPane').removeAttribute("disabled");    todaysplitter.removeAttribute("collapsed");  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/4f4c0eb29c387abfad079877e7c95e6882509c89/today-pane.js/clean/calendar/base/content/today-pane.js