#13503 fix hover add cell dashboard
This commit is contained in:
parent
a544cb0609
commit
6d8b3f7441
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue