crostini: select the correct action button
A recent CL [1] added a second button with the class "action-button" to the crostini installer. The existing logic assumed there is only one "action-button" which, being no longer always true, sometimes results in the wrong button being focussed/clicked. This CL updates the logic to select the appropriate button, either next or install, depending on the current state of the installation ui. [1] https://chromium-review.googlesource.com/c/chromium/src/+/2004185 Bug: 1016195 Change-Id: I94cbba0f7610d9f444ee539ddcc910959ee817c1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2024232Reviewed-by:Julian Watson <juwa@google.com> Commit-Queue: Jason Lin <lxj@google.com> Auto-Submit: Jason Lin <lxj@google.com> Cr-Commit-Position: refs/heads/master@{#737675}
Showing
Please register or sign in to comment