diff --git a/pandora_console/include/javascript/tree/TreeController.js b/pandora_console/include/javascript/tree/TreeController.js index bc30d87f8c..267013eb13 100644 --- a/pandora_console/include/javascript/tree/TreeController.js +++ b/pandora_console/include/javascript/tree/TreeController.js @@ -965,9 +965,12 @@ var TreeController = { $content.append($statusImage); } + element.name = htmlDecode(element.name); // Name max 42 chars. $content.append( - '' + + '' + element.name.substring(0, 42) + (element.name.length > 42 ? "..." : "") + ""