diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index d934c7815d..e465c94750 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -915,7 +915,7 @@ function html_print_select( ui_require_javascript_file('select2.min'); } - $output .= ''; + $output .= ''; } if ($return) { diff --git a/pandora_console/include/javascript/functions_pandora_networkmap.js b/pandora_console/include/javascript/functions_pandora_networkmap.js index 23e7f0cb57..0d440d3048 100644 --- a/pandora_console/include/javascript/functions_pandora_networkmap.js +++ b/pandora_console/include/javascript/functions_pandora_networkmap.js @@ -965,7 +965,8 @@ function load_interfaces(selected_links) { $("#relations_table-no_relations").css("display", "none"); $("#relations_table-loading").css("display", ""); - var template_relation_row = $("#relations_table-template_row").clone(); + var template_relation_row = $("#relations_table-template_row"); + template_relation_row.clone(); $(template_relation_row).css("display", ""); $(template_relation_row).attr("class", "relation_link_row");