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

Jifty commits jifty-commit at lists.jifty.org
Fri Feb 22 17:40:42 EST 2008


Author: alexmv
Date: Fri Feb 22 17:40:42 2008
New Revision: 5165

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

Log:
 r28095 at zoq-fot-pik:  chmrr | 2008-02-22 17:39:43 -0500
  * Revert r5120 for now; it breaks on page region updates, when
 regions don't know if they were in a form.  A more correct fix (which
 will put this logic back) will be forthcoming.


Modified: jifty/trunk/lib/Jifty/Web/Form/Field.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web/Form/Field.pm	(original)
+++ jifty/trunk/lib/Jifty/Web/Form/Field.pm	Fri Feb 22 17:40:42 2008
@@ -91,7 +91,7 @@
     }
 
     # now that the form field has been instantiated, register the action with the form.
-    if ($self->action and Jifty->web->form->is_open and not (Jifty->web->form->has_action($self->action))) {
+    if ($self->action and not (Jifty->web->form->has_action($self->action))) {
         Jifty->web->form->register_action( $self->action);
         Jifty->web->form->print_action_registration($self->action->moniker);
     }


More information about the Jifty-commit mailing list