Merge pull request #1711 from ONLYOFFICE/fix/bugfix

[SSE] Fix Bug 54813
This commit is contained in:
Julia Radzhabova 2022-04-20 13:05:42 +03:00 committed by GitHub
commit cb8cf2b5be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3806,6 +3806,7 @@ define([
var wbtab = me.getApplication().getController('WBProtection');
$panel.append(wbtab.createToolbarPanel());
me.toolbar.addTab(tab, $panel, 7);
me.toolbar.setVisible('protect', Common.UI.LayoutManager.isElementVisible('toolbar-protect'));
Array.prototype.push.apply(me.toolbar.lockControls, wbtab.getView('WBProtection').getButtons());
}