From 4e7465533572e944c17ab89221fc4c4603dda853 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 11 Aug 2010 20:56:14 +0000 Subject: [PATCH] Monotone-Parent: 591189cd04bcdbe3a11183a6aca2bd58edc2ebea Monotone-Revision: ccda1427d14d0786cfb28dbb253a43ab22a93a2e Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-08-11T20:56:14 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 +++++ UI/WebServerResources/SchedulerUI.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9b20d508d..28ba383a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-08-11 Wolfgang Sourdeau + * UI/WebServerResources/SchedulerUI.js: (initCalendars): avoid + setting "showCompletedTasks" when in a popup, since this needs + access to a UserDefaults dictionary which is not present nor event + required. + * Main/SOGo+DAV.m (-davCurrentUserPrincipal): new method implementing the "{DAV:}current-user-principal" property. diff --git a/UI/WebServerResources/SchedulerUI.js b/UI/WebServerResources/SchedulerUI.js index e3b8a6bf8..88acd0543 100644 --- a/UI/WebServerResources/SchedulerUI.js +++ b/UI/WebServerResources/SchedulerUI.js @@ -2722,7 +2722,6 @@ function onDocumentKeydown(event) { function initCalendars() { sorting["attribute"] = "start"; sorting["ascending"] = true; - showCompletedTasks = parseInt(UserSettings['ShowCompletedTasks']); if (!$(document.body).hasClassName("popup")) { var node = $("filterpopup"); @@ -2735,6 +2734,7 @@ function initCalendars() { initDateSelectorEvents(); initCalendarSelector(); configureSearchField(); + showCompletedTasks = parseInt(UserSettings['ShowCompletedTasks']); configureLists(); $("calendarList").attachMenu("calendarsMenu"); $(document.body).observe("click", onBodyClickHandler);