draggability logic doesn't apply to readonly view
[scpubgit/stemmaweb.git] / root / js / relationship-readonly.js
index bfb62c7..d6cf53d 100644 (file)
@@ -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();