Github user mcgilman commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2497#discussion_r175198349
  
    --- Diff: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-connection-configuration.js
 ---
    @@ -83,6 +84,34 @@
             });
         }
     
    +    /**
    +     * Loads the controller configuration.
    +     */
    +    var loadBackPressureDefaults = function () {
    +        var deferred = $.Deferred();
    +        $.ajax({
    --- End diff --
    
    The ajax result is a deferred. In this case, you simply return it. For 
instance `return $.ajax({...});`


---

Reply via email to