You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by al...@apache.org on 2017/06/27 17:55:57 UTC
nifi git commit: NIFI-4119 - Improve UX of canvas label configuration
by providing immediate focus to value field
Repository: nifi
Updated Branches:
refs/heads/master c37aed4de -> 202eb5ccb
NIFI-4119 - Improve UX of canvas label configuration by providing immediate focus to value field
This closes #1940.
Signed-off-by: Andy LoPresto <al...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/202eb5cc
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/202eb5cc
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/202eb5cc
Branch: refs/heads/master
Commit: 202eb5ccbee5e7033de59fcfc59384254c4ae4ed
Parents: c37aed4
Author: yuri1969 <19...@gmail.com>
Authored: Sun Jun 25 18:56:54 2017 +0200
Committer: Andy LoPresto <al...@apache.org>
Committed: Tue Jun 27 10:38:35 2017 -0700
----------------------------------------------------------------------
.../src/main/webapp/js/nf/canvas/nf-label-configuration.js | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/nifi/blob/202eb5cc/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-label-configuration.js
----------------------------------------------------------------------
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 66ffe3b..e90ce04 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();
}
}
});