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:
parent
8c631fbc86
commit
9949666926
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue