You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the event listener detach, and then calling getConnections(), it doe not reflect the new set of connections.
instance.bind("connection:detach", function (info) {
console.log(instance.getConnections());
});
The detached connection is still present in getConnections().
When I add instance.deleteConnection(info.connection); , then instance.getConnections() reflects the correct connections, but it triggers the following error: [Log] jsPlumb function failed : TypeError: null is not an object (evaluating 't.endpoints[0]') (tool.8358ff.js, line 1)
Any idea why?
The text was updated successfully, but these errors were encountered:
When using the event listener detach, and then calling getConnections(), it doe not reflect the new set of connections.
The detached connection is still present in getConnections().
When I add
instance.deleteConnection(info.connection);
, then instance.getConnections() reflects the correct connections, but it triggers the following error:[Log] jsPlumb function failed : TypeError: null is not an object (evaluating 't.endpoints[0]') (tool.8358ff.js, line 1)
Any idea why?
The text was updated successfully, but these errors were encountered: