fixing entering group
parent
c3d2eb1711
commit
6a7844d12d
|
@ -315,6 +315,17 @@ MD.Panel = function(){
|
|||
}
|
||||
}
|
||||
|
||||
$('#cur_context_panel').delegate('a', 'click', function() {
|
||||
var link = $(this);
|
||||
if(link.attr('data-root')) {
|
||||
svgCanvas.leaveContext();
|
||||
} else {
|
||||
svgCanvas.setContext(link.text());
|
||||
}
|
||||
svgCanvas.clearSelection();
|
||||
return false;
|
||||
});
|
||||
|
||||
this.show = show;
|
||||
this.updateContextPanel = updateContextPanel;
|
||||
}
|
Loading…
Reference in New Issue