mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 02:25:34 +00:00
Add migrated calendars to the composite, r=lilmatt, mvl
This commit is contained in:
parent
d29750e28a
commit
e96fcbbf52
@ -384,6 +384,7 @@ var gDataMigrator = {
|
||||
cal.name = getRDFAttr(node, "name");
|
||||
calManager.setCalendarPref(cal, "color",
|
||||
getRDFAttr(node, "color"));
|
||||
getCompositeCalendar().addCalendar(cal);
|
||||
}
|
||||
aCallback();
|
||||
}
|
||||
@ -632,6 +633,7 @@ var gDataMigrator = {
|
||||
putItemsIntoCal(cal, items);
|
||||
|
||||
calManager.registerCalendar(cal);
|
||||
getCompositeCalendar().addCalendar(cal);
|
||||
return cal;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user