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/02/05 19:53:42 UTC

[nifi] branch main updated: NIFI-6522: Referencing Components link from Reporting Task Constroller Services links to proper Controller Settings tab

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 a9b8635  NIFI-6522: Referencing Components link from Reporting Task Constroller Services links to proper Controller Settings tab
a9b8635 is described below

commit a9b8635ac9a188ed454b21a9fe6957a9da22243e
Author: Mark Bean <ma...@gmail.com>
AuthorDate: Mon Feb 1 12:44:52 2021 -0500

    NIFI-6522: Referencing Components link from Reporting Task Constroller Services links to proper Controller Settings tab
    
    Signed-off-by: Pierre Villard <pi...@gmail.com>
    
    This closes #4794.
---
 .../nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-service.js   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 4fb41d7..edb9fb7 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
@@ -536,7 +536,7 @@
                         reportingTaskGrid.scrollRowIntoView(row);
 
                         // select the reporting task tab
-                        $('#settings-tabs').find('li:last').click();
+                        $('#settings-tabs').find('li:nth-child(3)').click();
 
                         // close the dialog and shell
                         referenceContainer.closest('.dialog').modal('hide');