ref: refs/heads/master commit 25785029e4b5fd4d0022637a683a93bba531dcd1 Author: Josef Reidinger <jreidinger@suse.cz> Date: Tue Sep 15 08:45:28 2009 +0200 back from first wizard step redirect to initial screen --- .../app/controllers/controlpanel_controller.rb | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/webclient/app/controllers/controlpanel_controller.rb b/webclient/app/controllers/controlpanel_controller.rb index 9bdc540..501747b 100644 --- a/webclient/app/controllers/controlpanel_controller.rb +++ b/webclient/app/controllers/controlpanel_controller.rb @@ -72,8 +72,11 @@ class ControlpanelController < ApplicationController steps = session[:wizard_steps].split "," if session[:wizard_current] != steps.first session[:wizard_current] = steps[steps.index(session[:wizard_current])-1] + redirect_to get_redirect_hash(session[:wizard_current]) + else + #back from first module return to basesystem screen + redirect_to :action => :basesystem end - redirect_to get_redirect_hash(session[:wizard_current]) end # when triggered by button/link from basesystem, shows current module from session -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org