hitting enter in a new dialog uses the default action not the selected action

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      JENKINS-71438 / https://github.com/jenkinsci/jenkins/pull/7938 switched from native browser dialogs to its own diaglogs.

      However this has regressed the ability to select an action using the enter key.

      instead of the highlighted button getting fired with the enter key, the default appears to be used instead.

      This is an accessibility issue that can lead to dataloss - esp if the dialog is a delete and you have selected the cancel option.

      Steps to reproduce.

      expected results

      The token is not removed (this is the behaviour in Jenkins < 2.415)

      actual results

      The token is removed

            Assignee:
            Markus Winter
            Reporter:
            James Nord
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: