Skip to content

Commit

Permalink
Fixes bug which was giving error dialog when expanding nodes in Explo…
Browse files Browse the repository at this point in the history
…re tab
  • Loading branch information
weisenje committed Feb 15, 2024
1 parent 8dc9ce7 commit 9c7bc2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sparqlGraphWeb/sparqlGraph/js/exploretab.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ define([ // properly require.config'ed
}

// in some modes, enable double-click to expand node
this.networkHash[ExploreTab.MODE_RESTRICTIONS].on('doubleClick', VisJsHelper.expandSelectedNodes.bind(this, this.canvasDivHash[ExploreTab.MODE_RESTRICTIONS], this.networkHash[ExploreTab.MODE_RESTRICTIONS]));
this.networkHash[ExploreTab.MODE_SHACL].on('doubleClick', VisJsHelper.expandSelectedNodes.bind(this, this.canvasDivHash[ExploreTab.MODE_SHACL], this.networkHash[ExploreTab.MODE_SHACL]));
this.networkHash[ExploreTab.MODE_RESTRICTIONS].on('doubleClick', VisJsHelper.expandSelectedNodes.bind(this, this.canvasDivHash[ExploreTab.MODE_RESTRICTIONS], this.networkHash[ExploreTab.MODE_RESTRICTIONS], ""));
this.networkHash[ExploreTab.MODE_SHACL].on('doubleClick', VisJsHelper.expandSelectedNodes.bind(this, this.canvasDivHash[ExploreTab.MODE_SHACL], this.networkHash[ExploreTab.MODE_SHACL], ""));

return this.networkHash;
},
Expand Down

0 comments on commit 9c7bc2b

Please sign in to comment.