Skip to content

Commit

Permalink
Show hidden neighbors #76
Browse files Browse the repository at this point in the history
  • Loading branch information
metincansiper committed Oct 13, 2016
1 parent 77b18d6 commit d311aa6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -446,14 +446,14 @@ var SBGNContainer = Backbone.View.extend({
}
},
{
id: 'ctx-menu-show-hidden-neighbours',
title: 'Show Hidden Neighbours',
id: 'ctx-menu-show-hidden-neighbors',
title: 'Show Hidden Neighbors',
selector: 'node',
onClickFunction: function (event) {
// TODO move this content to another function (We should find a suitable code base for it)
// and call that function here
var cyTarget = event.cyTarget;
var hiddenNeighbours = sbgnFiltering.getNeighboursOfGivenEles(cyTarget).filter(':hidden');
var hiddenNeighbours = sbgnFiltering.getProcessesOfGivenEles(cyTarget).filter(':hidden');
if(hiddenNeighbours.length === 0) {
return;
}
Expand Down

0 comments on commit d311aa6

Please sign in to comment.