Skip to content

Commit

Permalink
Oobe: disable shelf buttons when Gaia modal dialog opened
Browse files Browse the repository at this point in the history
Bug: 1046710
Change-Id: I20db7a5eadf9c3503802991b87216f7f85209d92
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2747597
Reviewed-by: Roman Sorokin [CET] <rsorokin@chromium.org>
Commit-Queue: Yunke Zhou <yunkez@google.com>
Cr-Commit-Position: refs/heads/master@{#861544}
  • Loading branch information
Yunke Zhou authored and Chromium LUCI CQ committed Mar 10, 2021
1 parent 676c6c0 commit 56c0b63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chrome/browser/resources/chromeos/login/gaia_dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,11 @@ Polymer({
},
'dialogShown': (e) => {
this.navigationEnabled = false;
chrome.send('enableShelfButtons', [false]);
},
'dialogHidden': (e) => {
this.navigationEnabled = true;
chrome.send('enableShelfButtons', [true]);
},
'exit': (e) => {
this.fire('exit', e.detail);
Expand Down

0 comments on commit 56c0b63

Please sign in to comment.