From d2e5a2bd86ccf71ebe1ebc167ae0e1d7145ade67 Mon Sep 17 00:00:00 2001 From: Alex P Date: Wed, 7 Feb 2018 10:26:48 -0800 Subject: [PATCH] Rename handler to match event --- ui/src/dashboards/components/CellEditorOverlay.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/dashboards/components/CellEditorOverlay.js b/ui/src/dashboards/components/CellEditorOverlay.js index e3539217fd..141a525b6c 100644 --- a/ui/src/dashboards/components/CellEditorOverlay.js +++ b/ui/src/dashboards/components/CellEditorOverlay.js @@ -446,7 +446,7 @@ class CellEditorOverlay extends Component { return prevQuery.source } - handleHotKeyDown = e => { + handleKeyDown = e => { if (e.key === 'Enter' && e.metaKey && e.target === this.overlayRef) { this.handleSaveCell() } @@ -487,7 +487,7 @@ class CellEditorOverlay extends Component { return (
(this.overlayRef = r)} >