Skip to content

Commit

Permalink
hotfix network
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelRIVIERE committed Jun 16, 2017
1 parent 88df926 commit 0fde1aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion views/network/simplyDirectory.php
Original file line number Diff line number Diff line change
Expand Up @@ -557,9 +557,11 @@ function autoCompleteSearchSimply(name, locality, indexMin, indexMax){
$.each(data.res, function(i, v) { if(v.length!=0){ countData++; } });

totalData += countData;
mylog.log("debug", networkJson.request.oneElement);
if(typeof networkJson.request.oneElement != "undefined" && networkJson.request.oneElement == true){
filterTags(data.filters.tags);
filterType(data.filters.types)
filterType(data.filters.types);
$("#divRolesMenu").removeClass("hidden");
}else{
$("#divRolesMenu").addClass("hidden");
}
Expand Down

0 comments on commit 0fde1aa

Please sign in to comment.