[Jifty-commit] r4850 - in jifty/trunk: lib/Jifty/Web/Form

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Jan 14 14:20:29 EST 2008


Author: alexmv
Date: Mon Jan 14 14:20:28 2008
New Revision: 4850

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Web/Form/Clickable.pm

Log:
 r26749 at zoq-fot-pik:  chmrr | 2008-01-14 14:18:53 -0500
  * We should skip registering it on the button if it has made any appearance in the form


Modified: jifty/trunk/lib/Jifty/Web/Form/Clickable.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form/Clickable.pm	(original)
+++ jifty/trunk/lib/Jifty/Web/Form/Clickable.pm	Mon Jan 14 14:20:28 2008
@@ -648,7 +648,7 @@
 sub register_action {
     my $self = shift;
     my ($action) = @_;
-    return if Jifty->web->form->printed_actions->{ $action->moniker };
+    return if Jifty->web->form->actions->{ $action->moniker };
 
     my $arguments = $action->arguments;
     $self->parameter( $action->register_name, ref $action );


More information about the Jifty-commit mailing list