Skip to content

Commit

Permalink
Pass whole row to [zoom] subroutine as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
racke committed Sep 13, 2010
1 parent 1f2eff7 commit e6c4e30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WellWell/Zoom.pm
Expand Up @@ -116,7 +116,7 @@ sub zoom {
for my $elt (@{$value->{elts}}) {
if ($elt->{zoom_rep_sub}) {
# call subroutine to handle this element
$elt->{zoom_rep_sub}->($elt, $rep_str);
$elt->{zoom_rep_sub}->($elt, $rep_str, $row);
}
elsif ($elt->{zoom_rep_att}) {
# replace attribute instead of embedded text (e.g. for <input>)
Expand Down

0 comments on commit e6c4e30

Please sign in to comment.