nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scottyas...@apache.org
Subject [3/3] nifi git commit: NIFI-4518: - Ensuring the last selected variable id is reset when closing the dialog.
Date Fri, 27 Oct 2017 00:56:51 GMT
NIFI-4518:
- Ensuring the last selected variable id is reset when closing the dialog.

This closes #2227

Signed-off-by: Scott Aslan <scottyaslan@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/1625f719
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/1625f719
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/1625f719

Branch: refs/heads/master
Commit: 1625f719e6c7bbe37fdd9335bc28a5398fbcb856
Parents: f2bd9f8
Author: Matt Gilman <matt.c.gilman@gmail.com>
Authored: Thu Oct 26 16:35:14 2017 -0400
Committer: Scott Aslan <scottyaslan@gmail.com>
Committed: Thu Oct 26 20:53:37 2017 -0400

----------------------------------------------------------------------
 .../src/main/webapp/js/nf/canvas/nf-variable-registry.js          | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/1625f719/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-variable-registry.js
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-variable-registry.js
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-variable-registry.js
index 668d1d2..24c00ab 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-variable-registry.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-variable-registry.js
@@ -1536,6 +1536,9 @@
         affectedControllerServicesContainer.empty();
 
         $('#variable-registry-affected-unauthorized-components').empty();
+
+        // reset the last selected variable
+        lastSelectedId = null;
     };
 
     return {


Mime
View raw message