Index: chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js |
diff --git a/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js b/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js |
index 2d84c113d17e42bf3e8579eb7b30dc5d583f4149..5996d71dc0ab7c615b08ea648848ac7221899cff 100644 |
--- a/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js |
+++ b/chrome/browser/resources/options/chromeos/quick_unlock_configure_overlay.js |
@@ -27,6 +27,9 @@ cr.define('options', function() { |
/** @override */ |
initializePage: function() { |
Page.prototype.initializePage.call(this); |
+ $('screen-lock-done').onclick = function() { |
+ QuickUnlockConfigureOverlay.dismiss(); |
+ }; |
}, |
/** @override */ |
@@ -39,7 +42,8 @@ cr.define('options', function() { |
settings.navigateTo(settings.Route.LOCK_SCREEN); |
var lockScreen = document.querySelector('settings-lock-screen'); |
- var checkbox = lockScreen.root.querySelector('settings-checkbox'); |
+ var checkbox = |
+ lockScreen.root.querySelector('div.settings-box.single-column'); |
checkbox.hidden = true; |
var passwordPrompt = lockScreen.root. |