#12685 fix invisible add widget

This commit is contained in:
Jonathan 2024-01-10 15:16:15 +01:00
parent 353c7e1fa1
commit bcf945daa2
2 changed files with 3 additions and 3 deletions

View File

@ -528,7 +528,7 @@ function initialiceLayout(data) {
$(".add-widget").show();
$(".new-widget-message").hide();
$("#container-layout").addClass("container-layout");
$("#add-widget").removeClass("invisible");
$("#add-widget").removeClass("invisible_important");
} else {
grid.movable(".grid-stack-item", false);
grid.resizable(".grid-stack-item", false);
@ -537,7 +537,7 @@ function initialiceLayout(data) {
$(".add-widget").hide();
$(".new-widget-message").show();
$("#container-layout").removeClass("container-layout");
$("#add-widget").addClass("invisible");
$("#add-widget").addClass("invisible_important");
}
});

View File

@ -214,7 +214,7 @@ $enable_disable['text'] = html_print_div(
);
// New Widget.
$newWidget['text'] = '<a href="#" id="add-widget" class="invisible">';
$newWidget['text'] = '<a href="#" id="add-widget" class="invisible_important">';
$newWidget['text'] .= html_print_image(
'images/plus@svg.svg',
true,