summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-04 23:13:50 +0000
committerjamiewalch@google.com <jamiewalch@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-04 23:13:50 +0000
commit18c5461222fd442dfc95b655bc93c18598cbcf4c (patch)
tree558c0df61baa39c8fb0e1fd3f6483a6988024eee /remoting
parentf09093853aa0f75f22b5d0d9b7dbe6767dd9f8fe (diff)
downloadchromium_src-18c5461222fd442dfc95b655bc93c18598cbcf4c.zip
chromium_src-18c5461222fd442dfc95b655bc93c18598cbcf4c.tar.gz
chromium_src-18c5461222fd442dfc95b655bc93c18598cbcf4c.tar.bz2
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
Diffstat (limited to 'remoting')
-rw-r--r--remoting/webapp/me2mom/oauth2_callback.html5
1 files changed, 1 insertions, 4 deletions
diff --git a/remoting/webapp/me2mom/oauth2_callback.html b/remoting/webapp/me2mom/oauth2_callback.html
index 2b34bbd..da5fe1b 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'));
}
}