Repository: incubator-nifi Updated Branches: refs/heads/NIFI-250 b51af3cb7 -> 3eb1ac16a
NIFI-250: - Ensuring the style on the comments field is reset when changing its value. Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/3eb1ac16 Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/3eb1ac16 Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/3eb1ac16 Branch: refs/heads/NIFI-250 Commit: 3eb1ac16a59738db683739e48d362260cf2c4e03 Parents: b51af3c Author: Matt Gilman <[email protected]> Authored: Fri Mar 27 08:00:40 2015 -0400 Committer: Matt Gilman <[email protected]> Committed: Fri Mar 27 08:00:40 2015 -0400 ---------------------------------------------------------------------- .../src/main/webapp/js/nf/canvas/nf-controller-service.js | 3 +++ .../nifi-web-ui/src/main/webapp/js/nf/canvas/nf-reporting-task.js | 3 +++ 2 files changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/3eb1ac16/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-service.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-controller-service.js b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-service.js index 5c55172..772888d 100644 --- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-service.js +++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-service.js @@ -1116,6 +1116,9 @@ nf.ControllerService = (function () { // clear the tables $('#controller-service-properties').propertytable('clear'); + // clear the comments + nf.Common.clearField('read-only-controller-service-comments'); + // removed the cached controller service details $('#controller-service-configuration').removeData('controllerServiceDetails'); } http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/3eb1ac16/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-reporting-task.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-reporting-task.js b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-reporting-task.js index b504695..5c39f14 100644 --- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-reporting-task.js +++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-reporting-task.js @@ -270,6 +270,9 @@ nf.ReportingTask = (function () { // clear the tables $('#reporting-task-properties').propertytable('clear'); + // clear the comments + nf.Common.clearField('read-only-reporting-task-comments'); + // removed the cached reporting task details $('#reporting-task-configuration').removeData('reportingTaskDetails'); }
