[Jifty-commit] r7174 - jifty/trunk/lib/Jifty/Plugin/SetupWizard

Jifty commits jifty-commit at lists.jifty.org
Tue Jun 2 18:40:22 EDT 2009


Author: sartak
Date: Tue Jun  2 18:40:18 2009
New Revision: 7174

Modified:
   jifty/trunk/lib/Jifty/Plugin/SetupWizard/View.pm

Log:
Due to region switching, hardcoding the accepted actions fails

Modified: jifty/trunk/lib/Jifty/Plugin/SetupWizard/View.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/SetupWizard/View.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/SetupWizard/View.pm	Tue Jun  2 18:40:18 2009
@@ -30,21 +30,7 @@
             h3 { $step_info->{header} } if $step_info->{header};
 
             show "/__jifty/admin/setupwizard/$step_info->{template}";
-            my @actions = keys %{ Jifty->web->form->actions };
-            form_submit(
-                label => _('Save'),
-                onclick => [
-                    {
-                        submit => \@actions,
-                    },
-                    {
-                        replace_self => 1,
-                        arguments => {
-                            step => $step + 1,
-                        },
-                    },
-                ],
-            );
+            form_submit(label => _('Save'));
         };
     };
 


More information about the Jifty-commit mailing list