Allow COMMAND+ENTER to save and close the commentDialogView
Review Request #8162 — Created May 13, 2016 and submitted — Latest diff uploaded
Allowing COMMAND+ENTER to close the commentDialogView widget is more natural to Mac users and is a solution used by many sites for immediate submission. Saves tabbing to the button too.
- Command-Enter will save the comment dialog.
- Added unit test.
Diff Revision 3
This is not the most recent revision of the diff. The latest diff is revision 6. See what's changed.
orig
1
2
3
4
5
6
reviewboard/static/rb/js/views/commentDialogView.js |
---|
reviewboard/static/rb/js/views/tests/commentDialogViewTests.js |
---|