diff --git a/apps/common/main/lib/controller/ReviewChanges.js b/apps/common/main/lib/controller/ReviewChanges.js index 958226c4b3..2730020263 100644 --- a/apps/common/main/lib/controller/ReviewChanges.js +++ b/apps/common/main/lib/controller/ReviewChanges.js @@ -547,6 +547,7 @@ define([ this.api.asc_setAutoSaveGap(value); } Common.NotificationCenter.trigger('edit:complete', this.view); + this.view.fireEvent('settings:apply', [this]); }, disableEditing: function(disable) { diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index 9af76da4f4..496287233f 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -93,6 +93,9 @@ define([ this.addListeners({ 'FileMenu': { 'settings:apply': _.bind(this.applySettings, this) + }, + 'Common.Views.ReviewChanges': { + 'settings:apply': _.bind(this.applySettings, this) } }); }, diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index c921da9e31..3a327ba145 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -92,6 +92,9 @@ define([ this.addListeners({ 'FileMenu': { 'settings:apply': _.bind(this.applySettings, this) + }, + 'Common.Views.ReviewChanges': { + 'settings:apply': _.bind(this.applySettings, this) } }); }, diff --git a/apps/spreadsheeteditor/main/app/controller/Main.js b/apps/spreadsheeteditor/main/app/controller/Main.js index a86d3ab058..2daa57f608 100644 --- a/apps/spreadsheeteditor/main/app/controller/Main.js +++ b/apps/spreadsheeteditor/main/app/controller/Main.js @@ -96,6 +96,9 @@ define([ this.addListeners({ 'FileMenu': { 'settings:apply': _.bind(this.applySettings, this) + }, + 'Common.Views.ReviewChanges': { + 'settings:apply': _.bind(this.applySettings, this) } }); },