From 652bcce44a6a9e96753a51352de8194b92f3d5ef Mon Sep 17 00:00:00 2001 From: "mikep%oeone.com" Date: Wed, 3 Jul 2002 17:10:50 +0000 Subject: [PATCH] Fixing bug 155443, problem with no close window in calendar. --- calendar/resources/content/calendar.js | 12 ++++++++++++ calendar/resources/content/calendar.xul | 10 +++++++--- calendar/resources/content/calendarMenuOverlay.xul | 2 ++ calendar/resources/content/menuOverlay.xul | 2 ++ calendar/resources/locale/en-US/calendar.dtd | 5 +++-- 5 files changed, 26 insertions(+), 5 deletions(-) diff --git a/calendar/resources/content/calendar.js b/calendar/resources/content/calendar.js index ffd89f3842a..7bde38c3f98 100644 --- a/calendar/resources/content/calendar.js +++ b/calendar/resources/content/calendar.js @@ -679,3 +679,15 @@ function selectAllEvents() { gCalendarWindow.EventSelection.setArrayToSelection( gCalendarWindow.eventSource.getCurrentEvents() ); } + + +function deleteToDoCommand( event ) +{ + alert( event.originalTarget.getAttribute( "id" ) ); +} + + +function closeCalendar() +{ + self.close(); +} diff --git a/calendar/resources/content/calendar.xul b/calendar/resources/content/calendar.xul index 80c21222568..54e066559de 100644 --- a/calendar/resources/content/calendar.xul +++ b/calendar/resources/content/calendar.xul @@ -82,7 +82,6 @@ - @@ -91,6 +90,9 @@ + + + @@ -101,6 +103,8 @@ + + @@ -237,8 +241,8 @@ - + diff --git a/calendar/resources/content/calendarMenuOverlay.xul b/calendar/resources/content/calendarMenuOverlay.xul index 6eeb8368333..c7c11bcf263 100644 --- a/calendar/resources/content/calendarMenuOverlay.xul +++ b/calendar/resources/content/calendarMenuOverlay.xul @@ -104,6 +104,8 @@ + + diff --git a/calendar/resources/content/menuOverlay.xul b/calendar/resources/content/menuOverlay.xul index 6eeb8368333..c7c11bcf263 100644 --- a/calendar/resources/content/menuOverlay.xul +++ b/calendar/resources/content/menuOverlay.xul @@ -104,6 +104,8 @@ + + diff --git a/calendar/resources/locale/en-US/calendar.dtd b/calendar/resources/locale/en-US/calendar.dtd index 44141a53917..e7c05749fd0 100644 --- a/calendar/resources/locale/en-US/calendar.dtd +++ b/calendar/resources/locale/en-US/calendar.dtd @@ -159,8 +159,9 @@ - - + + +