зеркало из https://github.com/mozilla/pjs.git
Use the prefPrefix to serialize our main composite calendar state. npotb.
This commit is contained in:
Родитель
0f7ca3df4a
Коммит
4bc697d93c
|
@ -148,6 +148,7 @@ function getCompositeCalendar()
|
||||||
activeCompositeCalendar =
|
activeCompositeCalendar =
|
||||||
ltnCreateInstance("@mozilla.org/calendar/calendar;1?type=composite",
|
ltnCreateInstance("@mozilla.org/calendar/calendar;1?type=composite",
|
||||||
"calICompositeCalendar");
|
"calICompositeCalendar");
|
||||||
|
activeCompositeCalendar.prefPrefix = "lightning-main";
|
||||||
activeCompositeCalendar.addObserver(ltnCompositeCalendarObserver, 0);
|
activeCompositeCalendar.addObserver(ltnCompositeCalendarObserver, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче