Index: chrome/browser/resources/chromeos/login/oobe.js |
diff --git a/chrome/browser/resources/chromeos/login/oobe.js b/chrome/browser/resources/chromeos/login/oobe.js |
index 7e8839b618119fb3f4ac39100491592ac64c5d4d..15ef4571abc41f909958d37ce7657855dcad859e 100644 |
--- a/chrome/browser/resources/chromeos/login/oobe.js |
+++ b/chrome/browser/resources/chromeos/login/oobe.js |
@@ -81,23 +81,9 @@ cr.define('cr.ui', function() { |
// TODO: Cleanup with old OOBE style removal. |
Nikita (slow)
2012/11/29 11:17:48
nit: This TODO could be removed.
Ivan Korotkov
2012/11/29 17:42:28
It's related to #security-link, which is still the
|
$('security-link').addEventListener('click', function(event) { |
- chrome.send('eulaOnTpmPopupOpened'); |
+ chrome.send('eulaOnInstallationSettingsPopupOpened'); |
$('popup-overlay').hidden = false; |
- $('security-ok-button').focus(); |
- }); |
- $('security-tpm-link').addEventListener('click', function(event) { |
- chrome.send('eulaOnTpmPopupOpened'); |
- $('popup-overlay').hidden = false; |
- $('security-ok-button').focus(); |
- }); |
- $('security-ok-button').addEventListener('click', function(event) { |
- $('popup-overlay').hidden = true; |
- }); |
- // Do not allow focus leaving the overlay. |
- $('popup-overlay').addEventListener('focusout', function(event) { |
- // WebKit does not allow immediate focus return. |
- setTimeout(function() { $('security-ok-button').focus(); }, 0); |
- event.preventDefault(); |
+ $('installation-settings-ok-button').focus(); |
}); |
chrome.send('screenStateInitialize'); |