diff --git a/RankPage/RankPage/Default.aspx b/RankPage/RankPage/Default.aspx
index 2bd0143..b1abf1f 100644
--- a/RankPage/RankPage/Default.aspx
+++ b/RankPage/RankPage/Default.aspx
@@ -1,28 +1,14 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default2" %>
-
-
diff --git a/RankPage/RankPage/MasterPage.master b/RankPage/RankPage/MasterPage.master
index 43499a7..2dab0b3 100644
--- a/RankPage/RankPage/MasterPage.master
+++ b/RankPage/RankPage/MasterPage.master
@@ -30,6 +30,21 @@
_uacct = "UA-76510-1";
urchinTracker();
+
@@ -79,11 +94,12 @@
window.fbAsyncInit = function() {
FB.init({appId: '200500963301473', status: true, cookie: true,
xfbml: true});
- FB.Event.subscribe('auth.login', function(response) {
- document.forms["default"].submit();
+ FB.Event.subscribe('auth.login', function(response) {
+ GetEmail();
+ document.forms["rank"].submit();
});
FB.Event.subscribe('auth.logout', function(response) {
- document.forms["default"].submit();
+ document.forms["default"].submit();
});
};
(function() {
@@ -96,6 +112,10 @@
+
diff --git a/RankPage/RankPage/RankingPage.aspx b/RankPage/RankPage/RankingPage.aspx
index 33c4cb3..e295282 100644
--- a/RankPage/RankPage/RankingPage.aspx
+++ b/RankPage/RankPage/RankingPage.aspx
@@ -1,23 +1,11 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="RankingPage.aspx.cs" Inherits="RankingPage" %>
-
-
+