Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to delete workflow connections #93

Merged
merged 2 commits into from
Feb 19, 2015

Conversation

zackgalbreath
Copy link
Contributor

No description provided.

@zackgalbreath
Copy link
Contributor Author

This addresses #82

path.on("click", function (d) {
var r = confirm("Remove this connection from this workflow?");
if (r === true) {
d3.select(this).remove();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something else needs to happen here to delete the connection from the "model", this only deletes it from the "view". You need to find the connection in the workflow.connections list and remove it. You can see the bug if you delete a connection then save the workflow - the connections will reappear when the view is reset.

@zackgalbreath
Copy link
Contributor Author

Thanks for catching this. I'll look into it & push a new commit to this PR shortly.

zackgalbreath added a commit that referenced this pull request Feb 19, 2015
Make it possible to delete workflow connections
@zackgalbreath zackgalbreath merged commit 94f1a1e into master Feb 19, 2015
@zackgalbreath zackgalbreath deleted the delete_workflow_connection branch February 19, 2015 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants