app/js/views/navTree.js
//highlight selected concept (listener conceptChanged)
highlight selected concept (listener conceptChanged)
highlight selected concept ( listener conceptChanged )
function conceptChangedNav() {
    var themodel = this.collection.getActiveConcept();
    var id = (themodel) ? themodel.attributes.id : null;
    if (typeof id === "string") {
      var alreadySelected = d3.select(".node.node_" + id + ".selected");
      if (!alreadySelected[0][0] && d3.select(".node")[0][0]) {
        d3.selectAll(".node.selected").classed("selected", false);
        d3.select(".node_" + id).classed("selected", true);
        this.toggleNode(this.findNode(this.root, themodel.attributes.uri));
      }
    }
  }
function conceptChangedNav ( ) { var themodel = this . collection . getActiveConcept ( ) ; var id = ( themodel ) ? themodel . attributes . id : null ; if ( typeof id === "string" ) { var alreadySelected = d3 . select ( ".node.node_" + id + ".selected" ) ; if ( ! alreadySelected [ 0 ] [ 0 ] && d3 . select ( ".node" ) [ 0 ] [ 0 ] ) { d3 . selectAll ( ".node.selected" ) . classed ( "selected" , false ) ; d3 . select ( ".node_" + id ) . classed ( "selected" , true ) ; this . toggleNode ( this . findNode ( this . root , themodel . attributes . uri ) ) ; } } }
highlight selected concept (listener conceptChanged)
highlight selected concept ( listener conceptChanged )