diff --git a/pandora_console/include/javascript/pandora_dashboards.js b/pandora_console/include/javascript/pandora_dashboards.js index 6b05e0e680..d992a9d5fa 100644 --- a/pandora_console/include/javascript/pandora_dashboards.js +++ b/pandora_console/include/javascript/pandora_dashboards.js @@ -452,7 +452,7 @@ function initialiceLayout(data) { $(".add-widget").show(); $(".new-widget-message").hide(); $("#container-layout").addClass("container-layout"); - $("#add-widget").show(); + $("#add-widget").removeClass("invisible"); } else { grid.movable(".grid-stack-item", false); grid.resizable(".grid-stack-item", false); @@ -461,7 +461,7 @@ function initialiceLayout(data) { $(".add-widget").hide(); $(".new-widget-message").show(); $("#container-layout").removeClass("container-layout"); - $("#add-widget").hide(); + $("#add-widget").addClass("invisible"); } }); diff --git a/pandora_console/views/dashboard/layout.php b/pandora_console/views/dashboard/layout.php index de0273c684..09a6d76c2a 100644 --- a/pandora_console/views/dashboard/layout.php +++ b/pandora_console/views/dashboard/layout.php @@ -43,10 +43,10 @@ $output = ''; // Div for modal update dashboard. -$output .= ''; -$output .= ''; -$output .= ''; -$output .= ''; +$output .= ''; +$output .= ''; +$output .= ''; +$output .= ''; // Layout. $output .= '
';