Bug 1165002 - do not load libical when icaljs is enabled by default. r=philipp
This commit is contained in:
Родитель
fcc806ce3b
Коммит
0c2fb180ea
|
@ -38,10 +38,8 @@ calBackendLoader.prototype = {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
let backend = "libical";
|
let backend = Services.prefs.getBoolPref("calendar.icaljs") ? "icaljs" : "libical";
|
||||||
if (Services.prefs.prefHasUserValue("calendar.icaljs")) {
|
|
||||||
backend = Services.prefs.getBoolPref("calendar.icaljs") ? "icaljs" : "libical";
|
|
||||||
}
|
|
||||||
let uri = Services.io.getProtocolHandler("resource")
|
let uri = Services.io.getProtocolHandler("resource")
|
||||||
.QueryInterface(Components.interfaces.nsIResProtocolHandler)
|
.QueryInterface(Components.interfaces.nsIResProtocolHandler)
|
||||||
.getSubstitution("calendar");
|
.getSubstitution("calendar");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче