Bug 813476 - Enabling offline support for CalDAV calendar breaks dialogs or makes calendar disappear. r=mmecca
This commit is contained in:
Родитель
8b56c9e3c8
Коммит
f51d5dc6e2
|
@ -838,6 +838,7 @@ calMgrCalendarObserver.prototype = {
|
|||
break;
|
||||
case "cache.enabled":
|
||||
this.changeCalendarCache.apply(this, arguments);
|
||||
break;
|
||||
case "disabled":
|
||||
if (!aValue && aCalendar.canRefresh) {
|
||||
aCalendar.refresh();
|
||||
|
|
|
@ -1265,9 +1265,8 @@ calListenerBag.prototype = {
|
|||
function notifyFunc(iface) {
|
||||
try {
|
||||
iface[func].apply(iface, args ? args : []);
|
||||
}
|
||||
catch (exc) {
|
||||
Components.utils.reportError(exc + " STACK: " + STACK());
|
||||
} catch (exc) {
|
||||
Components.utils.reportError(exc + "\nSTACK: " + exc.stack);
|
||||
}
|
||||
}
|
||||
this.mInterfaces.forEach(notifyFunc);
|
||||
|
|
Загрузка…
Ссылка в новой задаче