Fix: extra elements (tags) do not show up in HTML source
This commit is contained in:
parent
3b9f541bd0
commit
50e8b14789
3 changed files with 4 additions and 0 deletions
|
|
@ -10,6 +10,8 @@
|
||||||
Layout template of its parent on addition (Martin Kamerbeek / Procolix)
|
Layout template of its parent on addition (Martin Kamerbeek / Procolix)
|
||||||
- fixed some issues with getting original values and template fields in the
|
- fixed some issues with getting original values and template fields in the
|
||||||
overrides section of the Shortcut asset (Martin Kamerbeek / Procolix)
|
overrides section of the Shortcut asset (Martin Kamerbeek / Procolix)
|
||||||
|
- fix: extra elements (tags) do not show up in HTML source (Martin Kamerbeek
|
||||||
|
/ Procolix)
|
||||||
|
|
||||||
7.0.6
|
7.0.6
|
||||||
- fix: Error in DateTime.pm
|
- fix: Error in DateTime.pm
|
||||||
|
|
|
||||||
|
|
@ -1557,6 +1557,7 @@ Executes what is necessary to make the view() method work with content chunking.
|
||||||
sub prepareView {
|
sub prepareView {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
$self->{_toolbar} = $self->getToolbar;
|
$self->{_toolbar} = $self->getToolbar;
|
||||||
|
$self->session->style->setRawHeadTags($self->getExtraHeadTags);
|
||||||
}
|
}
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
|
@ -196,6 +196,7 @@ sub prepareView {
|
||||||
foreach my $child (@{$children}) {
|
foreach my $child (@{$children}) {
|
||||||
unless (isIn($child->getId, @found)||isIn($child->getId,@hidden)) {
|
unless (isIn($child->getId, @found)||isIn($child->getId,@hidden)) {
|
||||||
if ($child->canView) {
|
if ($child->canView) {
|
||||||
|
$self->session->style->setRawHeadTags($child->getExtraHeadTags);
|
||||||
$child->prepareView;
|
$child->prepareView;
|
||||||
push(@placeHolder1, $child);
|
push(@placeHolder1, $child);
|
||||||
push(@{$vars{"position1_loop"}},{
|
push(@{$vars{"position1_loop"}},{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue