Skip to content

Commit

Permalink
simple tracklist needs to subscribe to /jbrowse/v1/c/tracks/hide also
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed May 4, 2012
1 parent 08bbab7 commit 075e4a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/View/TrackList/Simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ dojo.declare( 'JBrowse.View.TrackList.Simple', null,
// subscribe to commands coming from the the controller
dojo.subscribe( '/jbrowse/v1/c/tracks/show',
dojo.hitch( this, 'setTracksActive' ));
// subscribe to commands coming from the the controller
dojo.subscribe( '/jbrowse/v1/c/tracks/hide',
dojo.hitch( this, 'setTracksInactive' ));
},

/** @private */
Expand Down

0 comments on commit 075e4a0

Please sign in to comment.