diff --git a/pandora_console/include/javascript/tree/TreeController.js b/pandora_console/include/javascript/tree/TreeController.js index 841e48dbe1..39b97c9c81 100644 --- a/pandora_console/include/javascript/tree/TreeController.js +++ b/pandora_console/include/javascript/tree/TreeController.js @@ -652,12 +652,19 @@ var TreeController = { typeof element.icon != "undefined" && element.icon.length > 0 ) { + var extension = element.icon.split(".").pop(); + if (extension === element.icon) { + element.icon = element.icon + ".png"; + } $content.append( '
' );