Prevent head tags from appearing twice in wobjects.
prepareView sets the extra head tags. Have all wobjects, in their www_view method, tell processStyle not to set the extra head tags again.
This commit is contained in:
parent
aab891a5b6
commit
76b9f01e77
6 changed files with 6 additions and 5 deletions
|
|
@ -557,7 +557,7 @@ sub www_view {
|
|||
});
|
||||
}
|
||||
$self->prepareView;
|
||||
my $style = $self->processStyle($self->getSeparator);
|
||||
my $style = $self->processStyle($self->getSeparator, { noHeadTags => 1 });
|
||||
my ($head, $foot) = split($self->getSeparator,$style);
|
||||
$self->session->output->print($head, 1);
|
||||
$self->session->output->print($self->view);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue