Skip to content

Commit

Permalink
Fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadow992 committed Sep 19, 2017
1 parent 9ef5c4a commit 1966613
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions js/globalListener.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,13 @@ $(function ()
function(evt, data)
{
$(".custom-menu-side").hide(10);
lazyParent=data.node.original.serverId;
lazyParent=data.node.original.id;
var nodeServerId=data.node.original.serverId;
data.node.children=[];
if(alreadyAdded[lazyParent]!=true)
if(alreadyAdded[nodeServerId]!=true)
{
var jsonURL=menuEntriesURL+data.node.original.serverId;
alreadyAdded[lazyParent]=true;
alreadyAdded[nodeServerId]=true;
$.get(jsonURL, addTreeNodes);
}
}
Expand Down

0 comments on commit 1966613

Please sign in to comment.