Merge pull request #1933 from ONLYOFFICE/fix/bugfix

Fix Bug 58379
This commit is contained in:
Julia Radzhabova 2022-09-01 21:01:56 +03:00 committed by GitHub
commit 90d92080ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1890,6 +1890,10 @@ define([
this.api.asc_setZoom(factor);
}
event.preventDefault();
event.stopPropagation();
return false;
} else if (this.permissions.isEditMailMerge || this.permissions.isEditDiagram || this.permissions.isEditOle) {
event.preventDefault();
event.stopPropagation();
return false;
@ -1902,6 +1906,10 @@ define([
this.api.asc_setZoom(factor);
}
event.preventDefault();
event.stopPropagation();
return false;
} else if (this.permissions.isEditMailMerge || this.permissions.isEditDiagram || this.permissions.isEditOle) {
event.preventDefault();
event.stopPropagation();
return false;