diff --git a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js index de6637d85..e86a171f9 100644 --- a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js +++ b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js @@ -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;