From 8aa694733abc851ae9d0c0c1999def7531cb1511 Mon Sep 17 00:00:00 2001 From: Paul Khermouch Date: Mon, 16 Apr 2018 02:33:58 -0500 Subject: [PATCH] Don't add a table row in the element info box for property summaries (#11) --- scripts/infobox.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/infobox.js b/scripts/infobox.js index 1804149..55433dd 100644 --- a/scripts/infobox.js +++ b/scripts/infobox.js @@ -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"); @@ -162,4 +166,4 @@ var infobox = (function(){ hide_element : hide_element, show_element : show_element }; -})(); \ No newline at end of file +})();