forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OOBE: Fix default focus for Enterprise enrollment screen
Focusing element marked as "focus-on-show" is done by oobe-dialog's show() method. MultiStepBehavior triggers this method for elements marked as for-step, but enrollment_screen used legacy layout where each oobe-dialog was additionally wrapped in the <div>, and for-step was set on the enclosing div instead of oobe-dialog. As a result, show() was not called on corresponding oobe-dialog upon step switch, and default focus was not set Bug: 1021608 Change-Id: I5d103f735ff5155a190c0a74c7d215fe293a2c83 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2414189 Reviewed-by: Roman Sorokin [CET] <rsorokin@chromium.org> Commit-Queue: Denis Kuznetsov [CET] <antrim@chromium.org> Cr-Commit-Position: refs/heads/master@{#807869}
- Loading branch information
Denis Kuznetsov
authored and
Commit Bot
committed
Sep 17, 2020
1 parent
4285cf4
commit b131a32
Showing
1 changed file
with
120 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters