mtien-apache commented on a change in pull request #5516:
URL: https://github.com/apache/nifi/pull/5516#discussion_r750659151



##########
File path: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-connection-configuration.js
##########
@@ -1526,7 +1608,13 @@
 
                     // handle each prioritizer
                     $.each(connection.prioritizers, function (i, type) {
-                        $('#prioritizer-available').children('li[id="' + type 
+ '"]').detach().appendTo('#prioritizer-selected');
+                        var selectedPrioritizer = 
$('#prioritizer-available').children('li[id="' + type + '"]');
+
+                        var draggableElement = 
selectedPrioritizer.find('div.draggable-control');
+                        if (draggableElement.length === 0 ) {

Review comment:
       @mcgilman Thanks for reviewing! This check was accidentally leftover 
from a previous implementation I had and now a prioritizer from the available 
list will not have a `draggable-control` anymore. I have removed the check. Can 
you review again? Thanks!




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to