[wellwell-devel] [wellwell/zoom] Pass whole row to [zoom] subroutine as well.

Stefan Hornburg wellwell-devel at rt.icdevgroup.org
Mon Sep 13 11:31:02 UTC 2010


commit e6c4e30fc1cd4a6b0e587be41d956c9c0e96b34b
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Mon Sep 13 13:30:33 2010 +0200

    Pass whole row to [zoom] subroutine as well.

 lib/WellWell/Zoom.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/WellWell/Zoom.pm b/lib/WellWell/Zoom.pm
index 3068ce1..cd0af0b 100644
--- a/lib/WellWell/Zoom.pm
+++ b/lib/WellWell/Zoom.pm
@@ -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>)



More information about the wellwell-devel mailing list