What steps will reproduce the problem?
1. create endpoints with source and target = true and maxConnections = -1.
2. drag a connection from one endpoint to another. try to drag a new connection
from either endpoint.
3. the old connection is dragged instead of a new one being created
What version of the product are you using? On what browser and OS?
jquery.jsPlumb-1.3.1-all.js
Chrome
Windows 7
Please provide any additional information below.
Changing the function at line 2881 as below solves the issue.
this.connectorSelector = function() {
return (self.connections.length < _maxConnections) || _maxConnections == -1 ?
null : self.connections[0];
};
Original issue reported on code.google.com by Nico.De...@gmail.com on 25 Jul 2011 at 4:55
Original issue reported on code.google.com by
Nico.De...@gmail.com
on 25 Jul 2011 at 4:55