diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas.js index 78dd8a6e57..428ddf2c82 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas.js +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-canvas.js @@ -978,7 +978,7 @@ nf.Canvas = (function () { // get the process group to refresh everything var processGroupXhr = reloadProcessGroup(nf.Canvas.getGroupId()); var statusXhr = reloadFlowStatus(); - var settingsXhr = nf.Settings.loadSettings(); + var settingsXhr = nf.Settings.loadSettings(false); // don't reload the status as we want to wait for deferreds to complete $.when(processGroupXhr, statusXhr, settingsXhr).done(function (processGroupResult) { // adjust breadcrumbs if necessary var title = $('#data-flow-title-container'); diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js index 42a4bbcecb..f6ff3ea654 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js @@ -1646,7 +1646,7 @@ nf.Settings = (function () { /** * Loads the settings. */ - loadSettings: function () { + loadSettings: function (reloadStatus) { var settings = $.ajax({ type: 'GET', url: config.urls.controllerConfig, @@ -1680,7 +1680,12 @@ nf.Settings = (function () { var reportingTasks = loadReportingTasks(); // return a deferred for all parts of the settings - return $.when(settings, controllerServices, reportingTasks).done(nf.Canvas.reloadStatus).fail(nf.Common.handleAjaxError); + return $.when(settings, controllerServices, reportingTasks).done(function () { + // always reload the status, unless the flag is specifically set to false + if (reloadStatus !== false) { + nf.Canvas.reloadStatus(); + } + }).fail(nf.Common.handleAjaxError); }, /**