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