more bug fixes
This commit is contained in:
parent
ebb6134c2d
commit
0c6b814ed4
2 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue