Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Unified Diff: remoting/webapp/me2mom/oauth2_callback.html

Issue 7574019: Removed oauth2_callback.html, merged functionality into remoting.js and improved 'No thanks' UX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reverted to using an interstitial oauth2 page. Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/me2mom/oauth2_callback.html
diff --git a/remoting/webapp/me2mom/oauth2_callback.html b/remoting/webapp/me2mom/oauth2_callback.html
index 2b34bbd297ab168fa31e5c5afa98fb9d3980b8da..da5fe1b56adbf77edd361c63468a6e38b3d7356c 100644
--- a/remoting/webapp/me2mom/oauth2_callback.html
+++ b/remoting/webapp/me2mom/oauth2_callback.html
@@ -11,9 +11,6 @@ found in the LICENSE file.
<script src="xhr.js"></script>
</head>
<body>
- <div id="error" style="display:none;">
- Something went wrong getting OAuth2 token.
- </div>
<script>
function retrieveRefreshToken(query) {
var parts = query.split('&');
@@ -28,7 +25,7 @@ found in the LICENSE file.
window.location.replace(chrome.extension.getURL('choice.html'));
});
} else {
- document.getElementById('error').style.display = 'block';
+ window.location.replace(chrome.extension.getURL('choice.html'));
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698