From 3e0adf6227dbe466936924f1ba27b71a7a3d6acb Mon Sep 17 00:00:00 2001 From: David Lu Date: Mon, 2 May 2016 15:38:40 -0400 Subject: PLT-2755 Shortcut to upload file (#2848) * Added file upload shortcuts (CTRL+U and CMD+U) * Added KeyCode for U --- webapp/utils/constants.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'webapp/utils/constants.jsx') diff --git a/webapp/utils/constants.jsx b/webapp/utils/constants.jsx index 3f8980bfa..d08ecfef7 100644 --- a/webapp/utils/constants.jsx +++ b/webapp/utils/constants.jsx @@ -544,7 +544,8 @@ export default { ENTER: 13, ESCAPE: 27, SPACE: 32, - TAB: 9 + TAB: 9, + U: 85 }, CODE_PREVIEW_MAX_FILE_SIZE: 500000, // 500 KB HighlightedLanguages: { -- cgit v1.2.3-1-g7c22