rem: var anItem = this.mItemList[i]; var attendee = anItem.getAttendeeById(attendeeID); 
add: var item = this.mItemList[i]; var attendee = item.getAttendeeById(attendeeID); 
context:     setAttendeeStatus: function (attendeeID, status) {                // Note that this code forces the user to respond to all items        // in the same way, which is a current limitation of the spec        if (attendeeID.match(/mailto:/i)) {            attendeeID = "mailto:" + attendeeID; // prepend mailto        }        for (var i=0; i < this.mItemList.length; ++i) {            var anItem = this.mItemList[i];            var attendee = anItem.getAttendeeById(attendeeID);            if (attendee) {                // XXX BUG 351589: workaround for updating an attendee                anItem.removeAttendee(attendee);                attendee.participationStatus = status;                anItem.addAttendee(attendee);            }        }    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/16b778a36558e7eea45ddf2d232f6a25341df0e2/calItipItem.js/clean/calendar/base/src/calItipItem.js