#13503 fix hover add cell dashboard

This commit is contained in:
Jonathan 2024-04-30 08:55:51 +02:00
parent a544cb0609
commit 6d8b3f7441
1 changed files with 12 additions and 0 deletions

View File

@ -232,6 +232,9 @@ function initialiceLayout(data) {
});
if (!$("#checkbox-edit-mode").is(":checked")) {
$("#add-widget")
.parent()
.addClass("invisible_important");
$(".add-widget").hide();
} else {
$(".new-widget-message").hide();
@ -549,6 +552,9 @@ function initialiceLayout(data) {
grid.resizable(".grid-stack-item", true);
grid.float(false);
$(".header-options").show();
$("#add-widget")
.parent()
.removeClass("invisible_important");
$(".add-widget").show();
$(".new-widget-message").hide();
$("#container-layout").addClass("container-layout");
@ -558,6 +564,9 @@ function initialiceLayout(data) {
grid.resizable(".grid-stack-item", false);
grid.float(true);
$(".header-options").hide();
$("#add-widget")
.parent()
.addClass("invisible_important");
$(".add-widget").hide();
$(".new-widget-message").show();
$("#container-layout").removeClass("container-layout");
@ -776,6 +785,9 @@ function initialiceLayout(data) {
});
if (!$("#checkbox-edit-mode").is(":checked")) {
$("#add-widget")
.parent()
.addClass("invisible_important");
$(".add-widget").hide();
} else {
$(".new-widget-message").hide();