From 57fdd798015336891febd097bd9a67a0b3ffd334 Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Sun, 5 Oct 2008 19:42:45 +0000 Subject: [PATCH] fixed: Shortcuts includes HTML head data twice --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Asset/Shortcut.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 947eb84ec..fc00cac9b 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -8,6 +8,7 @@ - fixed: DataForm doesn't keep posted values properly when data fails validation - fixed: Documentation for DataForm and Thingy updated for Possible Values field - added a new permission denied page for version tag approval + - fixed: Shortcuts includes HTML head data twice 7.6.0 - added: users may now customize the post received page for the CS diff --git a/lib/WebGUI/Asset/Shortcut.pm b/lib/WebGUI/Asset/Shortcut.pm index df0b0cdc3..0497f6151 100644 --- a/lib/WebGUI/Asset/Shortcut.pm +++ b/lib/WebGUI/Asset/Shortcut.pm @@ -973,7 +973,6 @@ sub www_view { if ($shortcut->isa('WebGUI::Asset::Wobject')) { $self->session->http->setLastModified($self->getContentLastModified); $self->session->http->sendHeader; - $shortcut->prepareView; my $style = $shortcut->processStyle("~~~"); my ($head, $foot) = split("~~~",$style); $self->session->output->print($head, 1);