diff options
author | wreis <wreis@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-08-01 01:16:26 +0000 |
---|---|---|
committer | wreis <wreis@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7> | 2009-08-01 01:16:26 +0000 |
commit | 3c18c3227e21136f3e7d6feb51ef7745e0a6d412 (patch) | |
tree | a94a1214909acaf1f9f9ef20c6b6ce15190e3094 /lib/Reaction/UI/ViewPort | |
parent | eb09f78b4b13f27599dfe9dee467e4731b29c6f0 (diff) | |
download | reaction-3c18c3227e21136f3e7d6feb51ef7745e0a6d412.tar.gz reaction-3c18c3227e21136f3e7d6feb51ef7745e0a6d412.zip |
removing cache for computed_action_order
Diffstat (limited to 'lib/Reaction/UI/ViewPort')
-rw-r--r-- | lib/Reaction/UI/ViewPort/Collection/Grid.pm | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Reaction/UI/ViewPort/Collection/Grid.pm b/lib/Reaction/UI/ViewPort/Collection/Grid.pm index 1cf3fd9..abdecc4 100644 --- a/lib/Reaction/UI/ViewPort/Collection/Grid.pm +++ b/lib/Reaction/UI/ViewPort/Collection/Grid.pm @@ -88,17 +88,8 @@ around _build_members => sub { my $orig = shift; my $self = shift; $self->member_args->{computed_field_order} ||= $self->computed_field_order; - $self->member_args->{computed_action_order} ||= []; my $members = $self->$orig(@_); - # cache everything yo - for my $member (@$members){ - $member->clear_computed_action_order; - my $order = $member->computed_action_order; - @{ $self->member_args->{computed_action_order} } = @$order; - last; - } - return $members; }; |