diff --git a/calendar/resources/content/calendar.xul b/calendar/resources/content/calendar.xul index a7c041c839d3..a79c8e0fe000 100644 --- a/calendar/resources/content/calendar.xul +++ b/calendar/resources/content/calendar.xul @@ -376,6 +376,7 @@ + diff --git a/calendar/resources/content/unifinder.js b/calendar/resources/content/unifinder.js index 3b7313e78dd7..436e446856f6 100644 --- a/calendar/resources/content/unifinder.js +++ b/calendar/resources/content/unifinder.js @@ -529,6 +529,11 @@ function getEventTable( ) gEventSource.onlyFutureEvents = true; eventTable = gEventSource.getCurrentEvents(); break; + case "current": + var SelectedDate = gCalendarWindow.getSelectedDate(); + var EndDate = new Date( SelectedDate.getTime() + ( 1000 * 60 * 60 * 24 ) ); + eventTable = gEventSource.getEventsForRange( SelectedDate, EndDate ); + break; default: eventTable = new Array(); dump( "there's no case for "+document.getElementById( "event-filter-menulist" ).selectedItem.value );