temporary fix to the getToolbar problem

Later we should make getToolbar add the toolbar in a hidden
state. The Admin Console JS can unhide it.
This commit is contained in:
Doug Bell 2010-08-06 16:57:25 -05:00
parent 8c631fbc86
commit 9949666926

View file

@ -463,6 +463,9 @@ sub www_view {
my $var;
$var->{backToSiteUrl} = $url->page;
# temporary! We are now in admin mode!
$session->var->switchAdminOn;
# Add vars for AdminBar
$var->{adminPlugins} = $self->getAdminPluginTemplateVars;
$var->{newContentTabs} = $self->getNewContentTemplateVars;