[Jifty-commit] r7160 - jifty/trunk/lib/Jifty/Plugin/SetupWizard
Jifty commits
jifty-commit at lists.jifty.org
Tue Jun 2 15:09:05 EDT 2009
Author: sartak
Date: Tue Jun 2 15:09:05 2009
New Revision: 7160
Modified:
jifty/trunk/lib/Jifty/Plugin/SetupWizard/View.pm
Log:
When the user clicks save, send them to the next step
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 15:09:05 2009
@@ -30,7 +30,15 @@
h3 { $step_info->{header} } if $step_info->{header};
show "/__jifty/admin/setupwizard/$step_info->{template}";
- form_submit(label => _('Save'));
+ form_submit(
+ label => _('Save'),
+ onclick => {
+ replace_self => 1,
+ arguments => {
+ step => $step + 1,
+ },
+ },
+ );
};
};
More information about the Jifty-commit
mailing list