[Bps-public-commit] r16260 - in Pushmi/trunk: Pushmi-Admin/lib/Pushmi/Admin
alexmv at bestpractical.com
alexmv at bestpractical.com
Thu Oct 9 13:49:36 EDT 2008
Author: alexmv
Date: Thu Oct 9 13:49:35 2008
New Revision: 16260
Modified:
Pushmi/trunk/ (props changed)
Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/View.pm
Log:
r38055 at kohr-ah: chmrr | 2008-10-09 13:41:58 -0400
* Fix action registration; ->register allows it to happen twice :(
Modified: Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/View.pm
==============================================================================
--- Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/View.pm (original)
+++ Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/View.pm Thu Oct 9 13:49:35 2008
@@ -411,7 +411,11 @@
div {
{ class is "option update" };
my $update = $replica->as_update_action;
- $update->register;
+ # Force registration early, so we don't end up with
+ # the registration <div> when we render the first
+ # widget.
+ Jifty->web->form->register_action( $update );
+ Jifty->web->form->print_action_registration( $update->moniker );
p {
outs("This replica should be automatically updated when it is more than ");
outs_raw( $update->form_field("auto_sync_revisions")->render_widget );
More information about the Bps-public-commit
mailing list