Repository: nifi Updated Branches: refs/heads/master 87161ab96 -> 57648308d
NIFI-2597: - Updating the correct object when attempting to create a self loop. Project: http://git-wip-us.apache.org/repos/asf/nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/57648308 Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/57648308 Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/57648308 Branch: refs/heads/master Commit: 57648308db333d843e3d5eae770b285ccd8d297e Parents: 87161ab Author: Matt Gilman <[email protected]> Authored: Thu Aug 18 15:53:06 2016 -0400 Committer: Mark Payne <[email protected]> Committed: Thu Aug 18 17:15:16 2016 -0400 ---------------------------------------------------------------------- .../nifi-web-ui/src/main/webapp/js/nf/canvas/nf-connection.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/nifi/blob/57648308/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-connection.js ---------------------------------------------------------------------- diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-connection.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-connection.js index 3428d1a..01d411a 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-connection.js +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-connection.js @@ -1359,12 +1359,12 @@ nf.Connection = (function () { var xOffset = nf.Connection.config.selfLoopXOffset; var yOffset = nf.Connection.config.selfLoopYOffset; - connectionEntity.connection.bends = []; - connectionEntity.connection.bends.push({ + connectionEntity.component.bends = []; + connectionEntity.component.bends.push({ 'x': (rightCenter.x + xOffset), 'y': (rightCenter.y - yOffset) }); - connectionEntity.connection.bends.push({ + connectionEntity.component.bends.push({ 'x': (rightCenter.x + xOffset), 'y': (rightCenter.y + yOffset) });
