# HG changeset patch # User bsw # Date 1340915094 -7200 # Node ID 6e4392a4ed9b1af3b4b65bfc70dcdeb877bfd1ac # Parent 4a106804aafbc8b7bb2573992744b8519c698094 Fixed hidden actions in registration process diff -r 4a106804aafb -r 6e4392a4ed9b app/main/index/register.lua --- a/app/main/index/register.lua Thu Jun 28 22:24:05 2012 +0200 +++ b/app/main/index/register.lua Thu Jun 28 22:24:54 2012 +0200 @@ -42,7 +42,7 @@ if not member.notify_email and not notify_email or not member.name and not name or not member.login and not login or step == 1 then ui.title(_"Registration (step 2 of 3: Personal information)") ui.field.hidden{ name = "step", value = 2 } - slot.select("actions", function() + ui.actions(function() ui.link{ content = function() ui.image{ static = "icons/16/resultset_previous.png" } @@ -99,7 +99,7 @@ ui.field.hidden{ name = "step", value = "3" } ui.title(_"Registration (step 3 of 3: Terms of use and password)") - slot.select("actions", function() + ui.actions(function() ui.link{ content = function() ui.image{ static = "icons/16/resultset_previous.png" } @@ -183,7 +183,7 @@ text = _'Create account' } - slot.select("actions", function() + ui.actions(function() ui.link{ content = function() ui.image{ static = "icons/16/cancel.png" }