From 4404650ee0f0d519dab3cc67498f9e5d4cdd3cd2 Mon Sep 17 00:00:00 2001
From: "renater.salaun" <renater.salaun@047e039d-479c-447e-8a29-aa6bf4a09bab>
Date: Wed, 31 Dec 2014 10:34:07 +0000
Subject: [PATCH] Last page (vtest accounts informations) is not a tab

git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@81 047e039d-479c-447e-8a29-aa6bf4a09bab
---
 templates/web/account_wizard.tt2.html | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/templates/web/account_wizard.tt2.html b/templates/web/account_wizard.tt2.html
index 7add805..7f566fe 100644
--- a/templates/web/account_wizard.tt2.html
+++ b/templates/web/account_wizard.tt2.html
@@ -43,14 +43,9 @@ jQuery(document).ready(function($){
             // Result gets included in the next tab
             if (currentIndex === 2 && newIndex === 3)
             {
-                form.steps("remove", 3);
-                form.steps("insert", 3, {
-                    title: "Test Accounts",
-                    contentMode: "async",
-                    contentUrl: "[% conf.app_url %]?action=validate_token&style=nobanner&sp_entityid="+
-                        encodeURIComponent($('#sp_entityid').val())+"&authentication_token="+encodeURIComponent($('#authentication_token').val())
-                });
-            }
+                window.location="[% conf.app_url %]?action=validate_token&sp_entityid="+
+                        encodeURIComponent($('#sp_entityid').val())+"&authentication_token="+encodeURIComponent($('#authentication_token').val());
+             }
 
             // Allways allow previous action even if the current form is not valid!
             if (currentIndex > newIndex)
-- 
GitLab