From 651bc5cb687c7517b088c06b228a2d2c1455378e Mon Sep 17 00:00:00 2001
From: Shane Tomlinson <stomlinson@mozilla.com>
Date: Fri, 12 Aug 2011 14:59:18 -0700
Subject: [PATCH] Redirect to management page instead of closing window.

close #162
---
 browserid/views/prove.ejs | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/browserid/views/prove.ejs b/browserid/views/prove.ejs
index 8e6dda57b..d3fdddbd3 100644
--- a/browserid/views/prove.ejs
+++ b/browserid/views/prove.ejs
@@ -23,9 +23,6 @@ function success() {
   $("div.status").text("Address confirmed!");
   setTimeout(function() {
     $("body").fadeOut(1500, function() {
-      // ideally we'll just be able to close this window.  shucks.  works on the iphone.
-      try { window.close(); } catch(e) {}
-
       // if the close didn't work, then let's redirect the the management page where they'll
       // get to see the ids that they've created.
       document.location = '/manage';
-- 
GitLab