rem: if (count == gItems.length) { 
add: if (count == aItems.length) { 
context:         onOperationComplete: function(aCalendar, aStatus, aOperationType, aId, aDetail) {            count++;            if (!Components.isSuccessCode(aStatus)) {                failedCount++;                lastError = aStatus;            }            // See if it is time to end the calendar's batch.            if (count == gItems.length) {                destCal.endBatch();                if (failedCount)                    showError(failedCount+" items failed to import. The last error was: "+lastError.toString());            }        }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/eb8377421fab5b382f113326425e75797f9a8f52/import-export.js/clean/calendar/base/content/import-export.js