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 2021/11/16 21:02:28 UTC

[GitHub] [nifi] mtien-apache commented on a change in pull request #5516: NIFI-9205 - Update prioritizer configuration

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: issues-unsubscribe@nifi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org