From f0c5a85d442d83d493d7f7fb83a14ba7cad6ab33 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 ffd89f3842ab..7bde38c3f98e 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 80c21222568f..54e066559de2 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 6eeb83683339..c7c11bcf2630 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 6eeb83683339..c7c11bcf2630 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 44141a539179..e7c05749fd0f 100644 --- a/calendar/resources/locale/en-US/calendar.dtd +++ b/calendar/resources/locale/en-US/calendar.dtd @@ -159,8 +159,9 @@ - - + + +