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/+/2414189Reviewed-by:Roman Sorokin [CET] <rsorokin@chromium.org> Commit-Queue: Denis Kuznetsov [CET] <antrim@chromium.org> Cr-Commit-Position: refs/heads/master@{#807869}
Showing
This diff is collapsed.
Please register or sign in to comment