diff --git a/apps/pdfeditor/main/app/controller/Main.js b/apps/pdfeditor/main/app/controller/Main.js index 322d1cb39a..7f0b70aa7d 100644 --- a/apps/pdfeditor/main/app/controller/Main.js +++ b/apps/pdfeditor/main/app/controller/Main.js @@ -2208,7 +2208,7 @@ define([ // }, onCollaborativeChanges: function() { - if (this._state.hasCollaborativeChanges) return; + if (this._state.hasCollaborativeChanges || Common.Utils.InternalSettings.get("pdfe-settings-coauthmode")) return; this._state.hasCollaborativeChanges = true; if (this.appOptions.isEdit) this.getApplication().getController('Statusbar').setStatusCaption(this.txtNeedSynchronize, true); diff --git a/apps/pdfeditor/main/app/view/Toolbar.js b/apps/pdfeditor/main/app/view/Toolbar.js index edc3b6b65e..5d84d92871 100644 --- a/apps/pdfeditor/main/app/view/Toolbar.js +++ b/apps/pdfeditor/main/app/view/Toolbar.js @@ -1686,7 +1686,7 @@ define([ /** coauthoring begin **/ onCollaborativeChanges: function () { - if (!(this.mode.isPDFAnnotate || this.mode.isPDFEdit)) return; + if (!(this.mode.isPDFAnnotate || this.mode.isPDFEdit) || Common.Utils.InternalSettings.get("pdfe-settings-coauthmode")) return; if (this._state.hasCollaborativeChanges) return; if (!this.btnCollabChanges.rendered || this._state.previewmode) {