rem: filter |= calendar.ITEM_FILTER_COMPLETED_NO; 
add: filter |= ccalendar.ITEM_FILTER_COMPLETED_NO; 
context: function toDoUnifinderRefresh(){   var hideCompleted = document.getElementById("hide-completed-checkbox").checked;   var savedThis = this;   var refreshListener = {       mTaskArray: new Array(),       onOperationComplete: function (aCalendar, aStatus, aOperationType, aId, aDateTime) {           setTimeout(function () { refreshToDoTree (refreshListener.mTaskArray); }, 0);       },       onGetResult: function (aCalendar, aStatus, aItemType, aDetail, aCount, aItems) {           for (var i = 0; i < aCount; i++) {               refreshListener.mTaskArray.push(aItems[i]);           }       }   };   var calendar = getCalendar();   var filter = 0;   if (hideCompleted)       filter |= calendar.ITEM_FILTER_COMPLETED_NO;   else       filter |= calendar.ITEM_FILTER_COMPLETED_ALL;   filter |= calendar.ITEM_FILTER_TYPE_TODO;   calendar.getItems (filter, 0, null, null, refreshListener);}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/2c847d988a48a3e728b743265c55303804d0b2b0/unifinderToDo.js/buggy/calendar/resources/content/unifinderToDo.js