Fix: extra elements (tags) do not show up in HTML source

This commit is contained in:
Martin Kamerbeek 2006-08-29 11:33:09 +00:00
parent 3b9f541bd0
commit 50e8b14789
3 changed files with 4 additions and 0 deletions

View file

@ -1557,6 +1557,7 @@ Executes what is necessary to make the view() method work with content chunking.
sub prepareView {
my $self = shift;
$self->{_toolbar} = $self->getToolbar;
$self->session->style->setRawHeadTags($self->getExtraHeadTags);
}
#-------------------------------------------------------------------

View file

@ -196,6 +196,7 @@ sub prepareView {
foreach my $child (@{$children}) {
unless (isIn($child->getId, @found)||isIn($child->getId,@hidden)) {
if ($child->canView) {
$self->session->style->setRawHeadTags($child->getExtraHeadTags);
$child->prepareView;
push(@placeHolder1, $child);
push(@{$vars{"position1_loop"}},{