Skip to content

Commit

Permalink
display tag long form on infoboard
Browse files Browse the repository at this point in the history
  • Loading branch information
dungscout96 committed Feb 15, 2024
1 parent cf6de8f commit 2f3009f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion schema_browser/schema-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ function infoBoardMouseoverEvent(event) {
var selected = $(event.target);
var node = selected;
var path = getPath(selected);
console.log(path);
var nodeName = selected.text();
var finalText = "";
if (useNewFormat) {
Expand All @@ -416,7 +417,7 @@ function infoBoardMouseoverEvent(event) {
var disp_div = ["schemaNode", "unitClassDef", "unitModifierDef", "valueClassDef", "attributeDef", "propertyDef"];
if (disp_div.includes(selected.attr('name'))) {
$("h4#title").text(nodeName);
$("h4#tag").text("Full path: " + path);
$("p#tag").text("Long form: " + path);
$("p#description").text(selected.attr("description"));
$("div#attribute_info").html(finalText);
}
Expand Down

0 comments on commit 2f3009f

Please sign in to comment.