N°3929 - Polishing: Dashboards

This commit is contained in:
acognet
2021-07-02 11:24:16 +02:00
parent 418312bca5
commit 35b70bfc00
5 changed files with 59 additions and 21 deletions

View File

@@ -50,15 +50,14 @@ $(function()
if (this.bModified)
{
this.element.addClass("itop-property-field-modified");
if (this.options.can_apply)
{
this.element.find(".prop_icon.ibo-prop--apply").css({visibility: ''});
}
else
{
if (this.options.can_apply) {
this.element.find(".prop_icon.ibo-prop--apply").css({visibility: ''});
CombodoTooltip.InitTooltipFromMarkup(this.element.find(".prop_icon.ibo-prop--apply [data-tooltip-content]"), true);
} else {
this.element.find(".prop_icon.ibo-prop--apply").css({visibility: 'hidden'});
}
this.element.find(".prop_icon.ibo-prop--cancel").css({visibility: ''});
CombodoTooltip.InitTooltipFromMarkup(this.element.find(".prop_icon.ibo-prop--cancel [data-tooltip-content]"), true);
}
else
{