Merge branch 'ent-12685-se-pueden-anadir-widget-sin-estar-en-modo-edicion' into 'develop'

Ent 12685 se pueden anadir widget sin estar en modo edicion

See merge request artica/pandorafms!6841
This commit is contained in:
Rafael Ameijeiras 2024-01-18 11:20:34 +00:00
commit 14b512ddde
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,