Commit 18c54612 authored by jamiewalch@google.com's avatar jamiewalch@google.com

Removed oauth2_callback.html, merged functionality into remoting.js and improved 'No thanks' UX.

BUG=91719
TEST=Manual

Review URL: http://codereview.chromium.org/7574019

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95531 0039d316-1c4b-4281-b951-d872f2087c98
parent f0909385
......@@ -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'));
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment