| Index: chrome/browser/resources/settings/people_page/people_page.js
|
| diff --git a/chrome/browser/resources/settings/people_page/people_page.js b/chrome/browser/resources/settings/people_page/people_page.js
|
| index eee145ccd8dffe61887ffc0c7de74dac01f4f051..124614dd46406724a26546ab01b94d03982dac20 100644
|
| --- a/chrome/browser/resources/settings/people_page/people_page.js
|
| +++ b/chrome/browser/resources/settings/people_page/people_page.js
|
| @@ -117,6 +117,12 @@ Polymer({
|
| },
|
| readOnly: true,
|
| },
|
| +
|
| + /** @private */
|
| + showEasyUnlockTurnOffDialog_: {
|
| + type: Boolean,
|
| + value: false,
|
| + },
|
| </if>
|
| },
|
|
|
| @@ -218,6 +224,8 @@ Polymer({
|
| */
|
| handleEasyUnlockEnabledStatusChanged_: function(easyUnlockEnabled) {
|
| this.easyUnlockEnabled_ = easyUnlockEnabled;
|
| + this.showEasyUnlockTurnOffDialog_ =
|
| + easyUnlockEnabled && this.showEasyUnlockTurnOffDialog_;
|
| },
|
| </if>
|
|
|
| @@ -329,7 +337,12 @@ Polymer({
|
|
|
| /** @private */
|
| onEasyUnlockTurnOffTap_: function() {
|
| - this.$$('#easyUnlockTurnOffDialog').open();
|
| + this.showEasyUnlockTurnOffDialog_ = true;
|
| + },
|
| +
|
| + /** @private */
|
| + onEasyUnlockTurnOffDialogClose_: function() {
|
| + this.showEasyUnlockTurnOffDialog_ = false;
|
| },
|
| </if>
|
|
|
|
|