From 202eb5ccbee5e7033de59fcfc59384254c4ae4ed Mon Sep 17 00:00:00 2001 From: yuri1969 <1969yuri1969@gmail.com> Date: Sun, 25 Jun 2017 18:56:54 +0200 Subject: [PATCH] NIFI-4119 - Improve UX of canvas label configuration by providing immediate focus to value field This closes #1940. Signed-off-by: Andy LoPresto --- .../src/main/webapp/js/nf/canvas/nf-label-configuration.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-label-configuration.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-label-configuration.js index 66ffe3bc38..e90ce04c91 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-label-configuration.js +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-label-configuration.js @@ -128,6 +128,9 @@ handler: { close: function () { labelId = ''; + }, + open: function () { + $('#label-value').focus(); } } });