mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-26 08:37:33 +08:00
Merge pull request #1176 from ONLYOFFICE/fix/bug-52575
[SSE] Fix Bug 52575
This commit is contained in:
@ -177,7 +177,7 @@ define([
|
||||
|
||||
onCreateDelayedElements: function(view) {
|
||||
var me = this;
|
||||
if (me.permissions.isEdit) {
|
||||
if (me.permissions.isEdit && !me._isDisabled) {
|
||||
view.pmiCut.on('click', _.bind(me.onCopyPaste, me));
|
||||
view.pmiCopy.on('click', _.bind(me.onCopyPaste, me));
|
||||
view.pmiPaste.on('click', _.bind(me.onCopyPaste, me));
|
||||
@ -2077,9 +2077,6 @@ define([
|
||||
if (!documentHolder.viewModeMenu)
|
||||
documentHolder.createDelayedElementsViewer();
|
||||
|
||||
if (!documentHolder.viewModeMenu)
|
||||
documentHolder.createDelayedElementsViewer();
|
||||
|
||||
if (!showMenu && !documentHolder.viewModeMenu.isVisible()) return;
|
||||
|
||||
if (isimagemenu && this.permissions.isSignatureSupport) {
|
||||
|
||||
Reference in New Issue
Block a user