You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by pv...@apache.org on 2021/11/24 17:01:58 UTC

[nifi] branch main updated: NIFI-9411: Adding missing 'setSubtitle' call for Controller Services modal

This is an automated email from the ASF dual-hosted git repository.

pvillard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new dfd8adf  NIFI-9411: Adding missing 'setSubtitle' call for Controller Services modal
dfd8adf is described below

commit dfd8adfd8eec8fdc66e2a88de102e221bbc44ddb
Author: Joe Gresock <jg...@gmail.com>
AuthorDate: Wed Nov 24 06:28:08 2021 -0500

    NIFI-9411: Adding missing 'setSubtitle' call for Controller Services modal
    
    Signed-off-by: Pierre Villard <pi...@gmail.com>
    
    This closes #5551.
---
 .../nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-service.js   | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/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-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-service.js
index 186c0ea..5c4337d 100644
--- a/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-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-service.js
@@ -2173,6 +2173,8 @@
                 nfCommon.populateField('controller-service-bundle', nfCommon.formatBundle(controllerService['bundle']));
                 nfCommon.populateField('read-only-controller-service-name', controllerService['name']);
                 nfCommon.populateField('read-only-controller-service-comments', controllerService['comments']);
+                
+                $('#controller-service-configuration').modal('setSubtitle', nfCommon.formatType(controllerService));
 
                 // set the implemented apis
                 if (!nfCommon.isEmpty(controllerService['controllerServiceApis'])) {