Mailinglist Archive: yast-commit (2114 mails)

< Previous Next >
[yast-commit] <web-client> network : back from first wizard step redirect to initial screen
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Tue, 15 Sep 2009 08:45:28 +0200
  • Message-id: <E1Mo1sJ-0001es-77@xxxxxxxxxxxxxxxx>
ref: refs/heads/network
commit 25785029e4b5fd4d0022637a683a93bba531dcd1
Author: Josef Reidinger <jreidinger@xxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages