rem: updateStyleSheetForObject(calendars[j]); 
add: updateStyleSheetForObject(calendars[j], gCachedStyleSheet); 
context: function initColors() {    var calendars = getCalendarManager().getCalendars({});    for (var j in calendars)         updateStyleSheetForObject(calendars[j]);    var categoryPrefBranch = prefService.getBranch("calendar.category.color.");    var prefArray = categoryPrefBranch.getChildList("", {});    for (var i = 0; i < prefArray.length; i++)         updateStyleSheetForObject(prefArray[i]);       // Setup css classes for category colors    var catergoryPrefBranch = prefService.getBranch("");    var pbi = catergoryPrefBranch.QueryInterface(        Components.interfaces.nsIPrefBranch2);    pbi.addObserver("calendar.category.color.", categoryPrefObserver, false);    categoryPrefObserver.observe(null, null, "");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/74efc308ff857d65952efad5a2bf55606fa82469/calendarManagement.js/clean/calendar/resources/content/calendarManagement.js