From c461811f2507d381ecebfe3922a6c799ed8748a4 Mon Sep 17 00:00:00 2001 From: James Tolley Date: Wed, 11 Jul 2007 17:30:43 +0000 Subject: [PATCH] small copy context menu bugfix --- lib/WebGUI/Asset/Wobject/Layout.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/WebGUI/Asset/Wobject/Layout.pm b/lib/WebGUI/Asset/Wobject/Layout.pm index 1a6a0c7bf..e27ff4e19 100644 --- a/lib/WebGUI/Asset/Wobject/Layout.pm +++ b/lib/WebGUI/Asset/Wobject/Layout.pm @@ -231,8 +231,6 @@ sub prepareView { #------------------------------------------------------------------- sub view { my $self = shift; - $self->session->errorHandler->warn('count: '. @{ $self->{_viewVars}{position1_loop} }); - $self->session->errorHandler->warn('first: '. Dumper($self->{_viewVars}{position1_loop}->[0]) ); if ($self->{_viewVars}{showAdmin} && $self->canEditIfLocked) { # under normal circumstances we don't put HTML stuff in our code, but this will make it much easier # for end users to work with our templates @@ -247,8 +245,6 @@ sub view { my $showPerformance = $self->session->errorHandler->canShowPerformanceIndicators(); my $out = $self->processTemplate($self->{_viewVars},undef,$self->{_viewTemplate}); my @parts = split("~~~~~",$self->processTemplate($self->{_viewVars},undef,$self->{_viewTemplate})); - use Data::Dumper; -# $self->session->errorHandler->warn('parts: '.Dumper(\@parts)); my $output = ""; foreach my $part (@parts) { my ($outputPart, $assetId) = split("~~~",$part,2);