From aecc6860e3676cd4f047c316cfde6d657c08ec96 Mon Sep 17 00:00:00 2001 From: Mitsuhiro Tanda Date: Wed, 19 Jul 2017 17:33:04 +0900 Subject: [PATCH] set focus on text field when opening panel/query editor (#8879) * (prometheus) set focus to top expression when opening editor * (text panel) set focus to top expression when opening editor --- .../plugins/datasource/prometheus/partials/query.editor.html | 2 +- public/app/plugins/panel/text/editor.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/plugins/datasource/prometheus/partials/query.editor.html b/public/app/plugins/datasource/prometheus/partials/query.editor.html index bd3d06773a6..7992d5a8c12 100644 --- a/public/app/plugins/datasource/prometheus/partials/query.editor.html +++ b/public/app/plugins/datasource/prometheus/partials/query.editor.html @@ -1,7 +1,7 @@
- +
diff --git a/public/app/plugins/panel/text/editor.html b/public/app/plugins/panel/text/editor.html index ab1fe802d87..21704949834 100644 --- a/public/app/plugins/panel/text/editor.html +++ b/public/app/plugins/panel/text/editor.html @@ -15,5 +15,5 @@ (This area uses Markdown. HTML is not supported) -