From 9edcb6e0a98353089f03f36e1bbd79a6d353e8fe Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Mon, 17 Oct 2005 13:51:38 +0000 Subject: [PATCH] [ 1288653 ] Events calendar again - moving forth/back does not work --- docs/changelog/6.x.x.txt | 1 + lib/WebGUI/Asset/Wobject/EventsCalendar.pm | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index aae13c5cf..aea3ff897 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -1,4 +1,5 @@ 6.7.7 + - fix [ 1288653 ] Events calendar again - moving forth/back does not work - fix [ 1324230 ] 6.7.6 - Template, Rich Text Editor options not showing - fix [ 1276593 ] 6.7.2 Product Images don't upload - fix [ 1324128 ] Help: List of Available Macros not working diff --git a/lib/WebGUI/Asset/Wobject/EventsCalendar.pm b/lib/WebGUI/Asset/Wobject/EventsCalendar.pm index 5275765c9..6a840d94b 100644 --- a/lib/WebGUI/Asset/Wobject/EventsCalendar.pm +++ b/lib/WebGUI/Asset/Wobject/EventsCalendar.pm @@ -225,7 +225,7 @@ sub view { } elsif ($endMonth eq "current") { $maxDate = WebGUI::DateTime::addToDate($minDate,0,1,0); } - + WebGUI::ErrorHandler::warn("calMonthStart:".$calMonthStart." calMonthEnd:".$calMonthEnd); my @now = WebGUI::DateTime::epochToArray(WebGUI::DateTime::time()); my $calHasEvent = 0; #monthcount minus i is the number of months remaining to be processed. @@ -436,5 +436,18 @@ sub view { #} +#------------------------------------------------------------------- +=head2 www_view ( ) + +Overwrite www_view method and call the superclass object, passing in a 1 to disable cache + +=cut + +sub www_view { + my $self = shift; + $self->SUPER::www_view(1); + +} + 1;