From 6569887382818e94dc8f11ccaca88497b7e8d3d3 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 21 Mar 2007 20:25:46 +0000 Subject: [PATCH] each asset now sets its own RawHeadTags. There is no need for Layout to do it anymore. It actually causes the Raw Head Tags to appear twice when viewed from the parent --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Asset/Wobject/Layout.pm | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 5d74b74a3..74af56f2e 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,4 +1,5 @@ 7.3.14 + - fix: Duplicate Metadata (perlDreamer Consulting, LLC) 7.3.13 diff --git a/lib/WebGUI/Asset/Wobject/Layout.pm b/lib/WebGUI/Asset/Wobject/Layout.pm index 41a66e632..7b0b5538b 100644 --- a/lib/WebGUI/Asset/Wobject/Layout.pm +++ b/lib/WebGUI/Asset/Wobject/Layout.pm @@ -170,7 +170,6 @@ sub prepareView { foreach my $child (@{$children}) { if ($asset eq $child->getId) { unless (isIn($asset,@hidden) || !($child->canView)) { - $self->session->style->setRawHeadTags($child->getExtraHeadTags); $child->prepareView; if ($i > $numPositions || $i==1) { push(@placeHolder1, $child);