Hareeshchandera / jsplumb

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

Is setDraggableByDefault gone? #255

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Is jsPlumb.setDraggableByDefault(true/false) deprecated, or was changed on some 
way on recent versions?

I used jsPlumb 1.3.3, and now migrated to the current version (1.3.9) but it 
tells me theres no "setDraggableByDefault" method on jsPlumb object (other 
methods are working fine).

jsfiddle: http://jsfiddle.net/895QG/

I couldnt find ANYTHING on this on the docs, on the changelog or on Google. Any 
ideas?

Original issue reported on code.google.com by pedro....@gmail.com on 15 Jun 2012 at 5:37

GoogleCodeExporter commented 8 years ago
Sorry, correct jsfiddle version here: http://jsfiddle.net/895QG/1/

Original comment by pedro....@gmail.com on 15 Jun 2012 at 5:38

GoogleCodeExporter commented 8 years ago
this is documented, albeit a little obliquely, in the changelog entries for 
1.3.4:

- removed the notion of jsplumb making everything draggable by default.  it is 
now the user's responsibility
    to ensure everything is draggable.  use jsPlumb.draggable for this, still, of course, or jsPlumb won't
    know about your draggable elements.

the method no longer exists.

Original comment by simon.po...@gmail.com on 15 Jun 2012 at 9:02

GoogleCodeExporter commented 8 years ago
Oh, OK. Thanks.

I searched the changelog for the method name but couldnt find (since it is 
written with spaces on the changelog), and btw on the docs the method is still 
there (under "Utility Functions").

Best.

Original comment by pedro....@gmail.com on 15 Jun 2012 at 9:07

GoogleCodeExporter commented 8 years ago
ah, thanks for the heads up. i'll remove it from the docs.

Original comment by simon.po...@gmail.com on 15 Jun 2012 at 9:33

GoogleCodeExporter commented 8 years ago
done.

Original comment by simon.po...@gmail.com on 16 Jun 2012 at 5:58