small copy context menu bugfix
This commit is contained in:
parent
47854cb599
commit
c461811f25
1 changed files with 0 additions and 4 deletions
|
|
@ -231,8 +231,6 @@ sub prepareView {
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
sub view {
|
sub view {
|
||||||
my $self = shift;
|
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) {
|
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
|
# 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
|
# for end users to work with our templates
|
||||||
|
|
@ -247,8 +245,6 @@ sub view {
|
||||||
my $showPerformance = $self->session->errorHandler->canShowPerformanceIndicators();
|
my $showPerformance = $self->session->errorHandler->canShowPerformanceIndicators();
|
||||||
my $out = $self->processTemplate($self->{_viewVars},undef,$self->{_viewTemplate});
|
my $out = $self->processTemplate($self->{_viewVars},undef,$self->{_viewTemplate});
|
||||||
my @parts = split("~~~~~",$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 = "";
|
my $output = "";
|
||||||
foreach my $part (@parts) {
|
foreach my $part (@parts) {
|
||||||
my ($outputPart, $assetId) = split("~~~",$part,2);
|
my ($outputPart, $assetId) = split("~~~",$part,2);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue