Add "Escape" key handling to modal boxes.

Review Request #13127 — Created June 26, 2023 and submitted — Latest diff uploaded

Information

Review Board
release-6.x

Reviewers

This change adds handling for the "Escape" key to close modal boxes,
typically with the cancel operation.

Verified that the changed modals could now be closed by pressing the
escape key.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Add "Escape" key handling to modal boxes.
This change adds handling for the "Escape" key to close modal boxes, typically with the cancel operation. Testing Done: Verified that the changed modals could now be closed by pressing the escape key.
795c24a40da9181c3e9c9df8441c981f20d14c28 David Trowbridge
reviewboard/static/rb/js/pages/views/dashboardView.es6.js
reviewboard/static/rb/js/reviews/views/reviewRequestActions.ts
reviewboard/static/rb/js/views/reviewDialogView.es6.js
reviewboard/static/rb/js/views/updateDiffView.es6.js
Loading...