rem: var deck = document.getElementById("calendar-view-box") for each (view in deck.childNodes) { 
add: for each (view in getViewDeck().childNodes) { 
context: function toggleTasksInView() {    var deck = document.getElementById("calendar-view-box")    for each (view in deck.childNodes) {        view.tasksInView = !view.tasksInView;    }    // Refresh the current view    currentView().goToDay(currentView().selectedDay);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/9421/ceb746f8c22ba1e5f880c4bbb5fef162e94d3ac3/messenger-overlay-sidebar.js/buggy/calendar/lightning/content/messenger-overlay-sidebar.js