Mailinglist Archive: yast-commit (2114 mails)

< Previous Next >
[yast-commit] <web-client> network : Cancel redirect to control panel instead previous page ( problem with page that has some subpages), wizard is on main page and cancel there is final cancel
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Tue, 15 Sep 2009 09:06:26 +0200
  • Message-id: <E1Mo1sJ-0001fA-HM@xxxxxxxxxxxxxxxx>
ref: refs/heads/network
commit 92c2845d07fbd31c9b8330f6f2a4fa716565a3ee
Author: Josef Reidinger <jreidinger@xxxxxxx>
Date: Tue Sep 15 09:06:26 2009 +0200

Cancel redirect to control panel instead previous page ( problem with page
that has some subpages), wizard is on main page and cancel there is final cancel
---
webclient/app/helpers/application_helper.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/webclient/app/helpers/application_helper.rb
b/webclient/app/helpers/application_helper.rb
index 161e433..e01a711 100644
--- a/webclient/app/helpers/application_helper.rb
+++ b/webclient/app/helpers/application_helper.rb
@@ -3,7 +3,7 @@ module ApplicationHelper
def form_send_buttons (send_options={})
if session[:wizard_current].nil? or session[:wizard_current] ==
"FINISH"
submit = submit_tag _("Save"),send_options
- back = link_to _("Cancel"), :back
+ back = link_to _("Cancel"), :controller => "controlpanel"
return submit+back
else
back = link_to "Back", :controller => "controlpanel", :action =>
"backstep"
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages