From: Tara L Andrews Date: Wed, 5 Jun 2013 10:59:51 +0000 (+0200) Subject: draggability logic doesn't apply to readonly view X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=938ef48737e51ab658311bb4805c1c0a3a9a5dc1;p=scpubgit%2Fstemmaweb.git draggability logic doesn't apply to readonly view --- diff --git a/root/js/relationship-readonly.js b/root/js/relationship-readonly.js index bfb62c7..d6cf53d 100644 --- a/root/js/relationship-readonly.js +++ b/root/js/relationship-readonly.js @@ -220,12 +220,6 @@ function add_relations( callback_fn ) { relation.data( 'type', rel_info.type ); relation.data( 'scope', rel_info.scope ); relation.data( 'note', rel_info.note ); - var node_obj = get_node_obj(rel_info.source); - node_obj.set_draggable( false ); - node_obj.ellipse.data( 'node_obj', null ); - node_obj = get_node_obj(rel_info.target); - node_obj.set_draggable( false ); - node_obj.ellipse.data( 'node_obj', null ); } }); callback_fn.call();