rem:  var item = aItems[i]; dump(item + "\n"); var eventBox = savedThis.createEventBox(item); dump(eventBox + "\n"); dump("adding box\n"); 
add: var eventBox = savedThis.createEventBox(aItems[i]); 
context:         onGetResult: function(aCalendar, aStatus, aItemType, aDetail, aCount, aItems) {            for (var i = 0; i < aCount; ++i) {                //items[aItems[i].id] = aItems[i];                var item = aItems[i];                dump(item + "\n");                var eventBox = savedThis.createEventBox(item);                dump(eventBox + "\n");                dump("adding box\n");                document.getElementById("week-view-content-board").appendChild(eventBox);            }        }
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/566a1dbb473e9bcf05dbd7415ba0e09b8b223644/weekView.js/buggy/calendar/resources/content/weekView.js