Repository: nifi Updated Branches: refs/heads/master b3de8f76f -> 6e74c10f4
NIFI-2041: - Fixing issue when attempting to refresh Controller Services when scoped by Process Group. - This closes #535 Project: http://git-wip-us.apache.org/repos/asf/nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/6e74c10f Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/6e74c10f Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/6e74c10f Branch: refs/heads/master Commit: 6e74c10f49d25d3160d157678ed1217a8d4adc3b Parents: b3de8f7 Author: Matt Gilman <[email protected]> Authored: Thu Jun 16 16:45:11 2016 -0400 Committer: Matt Gilman <[email protected]> Committed: Thu Jun 16 16:51:35 2016 -0400 ---------------------------------------------------------------------- .../main/webapp/js/nf/canvas/nf-process-group-configuration.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/nifi/blob/6e74c10f/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-process-group-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-process-group-configuration.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-process-group-configuration.js index 884e017..62fd855 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-process-group-configuration.js +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-process-group-configuration.js @@ -132,7 +132,7 @@ nf.ProcessGroupConfiguration = (function () { // register the click listener for the save button $('#process-group-configuration-save').off('click').on('click', function () { - saveConfiguration(response.revision.version, processGroupResponse.id); + saveConfiguration(response.revision.version, response.id); }); } else { if (response.accessPolicy.canRead) { @@ -247,7 +247,7 @@ nf.ProcessGroupConfiguration = (function () { showConfiguration: function (groupId) { // update the click listener $('#process-group-configuration-refresh-button').off('click').on('click', function () { - loadConfiguration(groupId).done(showConfiguration); + loadConfiguration(groupId); }); // update the new controller service click listener
