projects
/
catagits/Reaction.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
8da6e18
)
support the possibility of an inner vp existing
groditi [Thu, 25 Feb 2010 23:48:02 +0000 (23:48 +0000)]
lib/Reaction/UI/Widget/Action.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Reaction/UI/Widget/Action.pm
b/lib/Reaction/UI/Widget/Action.pm
index
3d8b1c4
..
cae45ab
100644
(file)
--- a/
lib/Reaction/UI/Widget/Action.pm
+++ b/
lib/Reaction/UI/Widget/Action.pm
@@
-48,6
+48,14
@@
implements fragment cancel_button_fragment {
}
};
+implements fragment maybe_inner {
+ if( my $inner = $_{viewport}->inner ){
+ arg '_' => $inner;
+ render 'viewport';
+ }
+};
+
+
__PACKAGE__->meta->make_immutable;