Franklinjagan / jsplumb

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

Connection click does not work in 1.8.1x RC1 #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using firefox 4. Connection click is not working with Jsplumb 1.8.1x RC1. 
Earlier this was working with 1.8.6 RC1 version and with the code sample 
mentioned in issue 61. Do I have to do something different in the latest 
version?

Also nodes lost drag behavior with 1.8.11 version. Same code without any 
changes and with 1.8.10 works fine; I can drag the nodes. 

Original issue reported on code.google.com by rkkil...@gmail.com on 2 Apr 2011 at 8:08

GoogleCodeExporter commented 9 years ago
Here is the modified code from examples. Line 99&100 I have attached click 
event to connection. Where is the mistake?

Original comment by rkkil...@gmail.com on 2 Apr 2011 at 8:13

Attachments:

GoogleCodeExporter commented 9 years ago
tried following code also. No luck

var con1 = jsPlumb.connect({ source:e1, target:e2 });
                con1.bind( 'click',function(connection) {alert("click on connection");});
                jsPlumb.connect({ source:e1, target:e3 }).bind( 'click',function(connection) {alert("click on connection");});
                jsPlumb.connect({ source:e1, target:e4 }).bind( 'click',function(connection) {alert("click on connection");});

Original comment by rkkil...@gmail.com on 2 Apr 2011 at 8:19

GoogleCodeExporter commented 9 years ago
sorry version mentioned is for jquery UI lib not jsplumb. It stypo.
jquery-ui-1.8.11.custom.js Vs jquery-ui-1.8.10.custom.js.

Original comment by rkkil...@gmail.com on 2 Apr 2011 at 8:25

GoogleCodeExporter commented 9 years ago
1) click works. I forgot to add jsPlumb.setMouseEventsEnabled(true). No issue 
with jsplumb code.
2) Left over issue from this defect report is 'issue between 
jquery-ui-1.8.11.custom.js Vs jquery-ui-1.8.10.custom.js' version when used 
along with jsplumb. I re-verify and confirm.

Original comment by rkkil...@gmail.com on 10 Apr 2011 at 6:26

GoogleCodeExporter commented 9 years ago
thanks for the update. marking invalid.

Original comment by simon.po...@gmail.com on 10 Apr 2011 at 8:41