Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed Sep 30, 2024
1 parent 8506df4 commit cb8ab6b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -399,11 +399,11 @@ <h3 id="relationtitle">Relationview</h3>
}catch(err){}
$('#jstree').jstree(tree);
$('#jstree').bind("dblclick.jstree", function (event) {
var node = $(event.target).closest("li");
var data = node[0].id
console.log(data)
//var node = $(event.target).closest("li");
var tre = $('#jstree').jstree(true)
var node = tre.get_node(event.target);
console.log(node)
if(node[0].type=="instance" || node[0].type=="geoinstance"){
if(node.type=="instance"){
updateTableFromInstance(node)
}else{
window.open(data, '_blank');
Expand Down

0 comments on commit cb8ab6b

Please sign in to comment.