You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2019/04/24 18:12:58 UTC

[GitHub] [nifi] mcgilman commented on a change in pull request #3281: NIFI-5986 Adding "Stop & Configure" button functionality to Processor…

mcgilman commented on a change in pull request #3281: NIFI-5986 Adding "Stop & Configure" button functionality to Processor…
URL: https://github.com/apache/nifi/pull/3281#discussion_r278213255
 
 

 ##########
 File path: nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-processor-details.js
 ##########
 @@ -296,6 +317,81 @@
                     });
                 }
 
+                //Populate the status bar if the feature is enabled
+                if (config.supportsStatusBar && nfCommon.isDefinedAndNotNull(config.nfCanvasUtils)){
+
+                    //Synchronize the status bar values to the canvas component
+                    var target = function(){
+                        return config.nfCanvasUtils.getSelectionById(processor.id)['datum']();
 
 Review comment:
   Is there a reason why `datum()` is being called by name rather than just explicitly invoking it?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services