diff --git a/Products/zms/plugins/www/bootstrap/plugin/bootstrap.plugin.zmi.js b/Products/zms/plugins/www/bootstrap/plugin/bootstrap.plugin.zmi.js index f0f66f4f9..15d661817 100644 --- a/Products/zms/plugins/www/bootstrap/plugin/bootstrap.plugin.zmi.js +++ b/Products/zms/plugins/www/bootstrap/plugin/bootstrap.plugin.zmi.js @@ -1280,6 +1280,7 @@ ZMIObjectTree.prototype.addPages = function(nodes) { // Ensure nodes as list type nodes = nodes.length==undefined ? [nodes] : nodes; nodes.forEach(node => { + var data_id = '{$'+node.uid+'}'; var link_url = node.index_html; var icon = that.metamodel[node.meta_id] ? $ZMI.icon(that.metamodel[node.meta_id].icon_clazz) : $ZMI.icon('far fa-file'); var anchor = ''; @@ -1287,11 +1288,11 @@ ZMIObjectTree.prototype.addPages = function(nodes) { var callback = that.p['toggleClick.callback']; if (node.meta_id == 'ZMSGraphic' && link_url) { - link_url = ``; + link_url = ``; } else if (node.meta_id == 'ZMSFile' && link_url) { var $path_elements = link_url.split('/'); var $fname = $path_elements[$path_elements.length -1 ].split('?')[0]; - link_url = `${$fname}`; + link_url = `${$fname}`; }; if (!node.active) { css.push("inactive");