This commit is contained in:
Julia.Radzhabova
2025-09-28 12:04:35 +03:00
parent c214167554
commit 770fdac666

View File

@ -1639,16 +1639,14 @@ define([
toolbar.setVisible('ins', this.mode.isPDFEdit);
toolbar.setVisible('forms', this.mode.isPDFEdit && this.mode.canFeatureForms);
var annotate = $host.find('.annotate'),
pdfedit = $host.find('.pdfedit');
!this.mode.isPDFEdit && annotate.addClass('transparent');
annotate.toggleClass('hidden', this.mode.isPDFEdit);
this.mode.isPDFEdit && pdfedit.addClass('transparent');
pdfedit.toggleClass('hidden', !this.mode.isPDFEdit);
!this.mode.isPDFEdit && $host.find('.annotate').addClass('transparent');
$host.find('.annotate').toggleClass('hidden', this.mode.isPDFEdit);
this.mode.isPDFEdit && $host.find('.pdfedit').addClass('transparent');
$host.find('.pdfedit').toggleClass('hidden', !this.mode.isPDFEdit);
toolbar.moveAllFromMoreButton('home');
toolbar.processPanelVisible(null, true, true);
annotate.removeClass('transparent');
pdfedit.removeClass('transparent');
$host.find('.annotate').removeClass('transparent');
$host.find('.pdfedit').removeClass('transparent');
this.mode.isPDFEdit ? Common.UI.TooltipManager.showTip('formEditor') : Common.UI.TooltipManager.closeTip('formEditor');
},