Hareeshchandera / jsplumb

Automatically exported from code.google.com/p/jsplumb
0 stars 0 forks source link

getConnections reports wrong connections after a connection moves from one endpoint to another #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
go to the draggableConnectors demo (jQuery or MooTools) and drag a yellow 
connector from window one to window two.  now drag it off window two and attach 
it to window 3.  jsPlumb erroneously reports that there are two connections.  
seems it has been added again despite being an existing connection.

Original issue reported on code.google.com by simon.po...@gmail.com on 30 Nov 2010 at 2:20

GoogleCodeExporter commented 8 years ago
fixed now in the dev scripts.  also fires a connection detached event before 
the new connection event.

Original comment by simon.po...@gmail.com on 30 Nov 2010 at 9:16

GoogleCodeExporter commented 8 years ago
Since this fix the detach event is fired when we reattach the connection to a 
3rd Endpoint, but in the case I do not drop it on an endpoint in order to 
delete the connection, the detach event is fired 3 times.

I am using the latest SVN version btw.

Original comment by sylvain....@gmail.com on 8 Dec 2010 at 3:52

GoogleCodeExporter commented 8 years ago
with the same source and target each time?

Original comment by simon.po...@gmail.com on 8 Dec 2010 at 4:08

GoogleCodeExporter commented 8 years ago
(and please move this to a new issue.  this issue is complete.)

Original comment by simon.po...@gmail.com on 8 Dec 2010 at 4:22

GoogleCodeExporter commented 8 years ago
Do I need to file another issue since you modified the status of this one?

Original comment by sylvain....@gmail.com on 8 Dec 2010 at 5:07

GoogleCodeExporter commented 8 years ago
i'd prefer if you did.  this issue is fixed.

thanks!

Original comment by simon.po...@gmail.com on 8 Dec 2010 at 6:36