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 @@
-