Skip to content

Commit

Permalink
Don't add a table row in the element info box for property summaries (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-k-civitas authored and bricaud committed Apr 16, 2018
1 parent 85d8da1 commit 8aa6947
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/infobox.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ var infobox = (function(){

function _display_vertex_properties(key,value,info_table) {
for (var subkey in value){
// Ignore the summary field, which is set in graphioGremlin.extract_infov3()
if (subkey === "summary") {
continue;
}
if ( ((typeof value[subkey] === "object") && (value[subkey] !== null)) && ('properties' in value[subkey]) ){
for (var subsubkey in value[subkey].properties){
var new_info_row = info_table.append("tr");
Expand All @@ -162,4 +166,4 @@ var infobox = (function(){
hide_element : hide_element,
show_element : show_element
};
})();
})();

0 comments on commit 8aa6947

Please sign in to comment.