more bug fixes

This commit is contained in:
JT Smith 2009-09-26 11:56:30 -05:00
parent ebb6134c2d
commit 0c6b814ed4
2 changed files with 3 additions and 3 deletions

View file

@ -250,7 +250,7 @@ Extending purgeCache to handle caching of the rendered snippet
sub purgeCache {
my $self = shift;
my $self->session->cache;
my $cache = $self->session->cache;
eval {
$cache->delete("view__".$self->getId);
$cache->delete("view_1_".$self->getId);

View file

@ -112,12 +112,12 @@ sub www_manageCache {
my $flushURL = $session->url->page('op=flushCache');
my $i18n = WebGUI::International->new($session);
my $output =
WebGUI::Form::formHeader($session);
WebGUI::Form::formHeader($session)
.WebGUI::Form::button($session, {
value => $i18n->get("clear cache"),
extras => qq{onclick="document.location.href='$flushURL';"},
})
.WebGUI::Form::formFooter($session);
.WebGUI::Form::formFooter($session)
;
return _submenu($session,$output);