You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mc...@apache.org on 2015/02/09 15:48:50 UTC

[17/18] incubator-nifi git commit: NIFI-331: - Ensuring remote process groups are updated accordingly after a successfully AJAX request.

NIFI-331:
- Ensuring remote process groups are updated accordingly after a successfully AJAX request.

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

Branch: refs/heads/NIFI-250
Commit: b64fe4755a13e5c4e53ac38ff2df5879f92029e7
Parents: 0133f84
Author: Matt Gilman <ma...@gmail.com>
Authored: Mon Feb 9 08:51:21 2015 -0500
Committer: Matt Gilman <ma...@gmail.com>
Committed: Mon Feb 9 08:51:21 2015 -0500

----------------------------------------------------------------------
 .../webapp/js/nf/canvas/nf-remote-process-group-configuration.js  | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/b64fe475/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-remote-process-group-configuration.js
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-remote-process-group-configuration.js b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-remote-process-group-configuration.js
index 8e0ea8e..df451fb 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-remote-process-group-configuration.js
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-remote-process-group-configuration.js
@@ -48,6 +48,9 @@ nf.RemoteProcessGroupConfiguration = (function () {
                                 }).done(function (response) {
                                     // update the revision
                                     nf.Client.setRevision(response.revision);
+                                    
+                                    // refresh the remote process group component
+                                    nf.RemoteProcessGroup.set(response.remoteProcessGroup);
 
                                     // close the details panel
                                     $('#remote-process-group-configuration').modal('hide');