diff --git a/apps/documenteditor/main/app/controller/Main.js b/apps/documenteditor/main/app/controller/Main.js index e259e976a..ffe757087 100644 --- a/apps/documenteditor/main/app/controller/Main.js +++ b/apps/documenteditor/main/app/controller/Main.js @@ -231,6 +231,15 @@ define([ }); this.initNames(); //for shapes + + Common.util.Shortcuts.delegateShortcuts({ + shortcuts: { + 'command+s,ctrl+s': _.bind(function (e) { + e.preventDefault(); + e.stopPropagation(); + }, this) + } + }); } }, diff --git a/apps/presentationeditor/main/app/controller/Main.js b/apps/presentationeditor/main/app/controller/Main.js index c8f5ec0b8..76575790f 100644 --- a/apps/presentationeditor/main/app/controller/Main.js +++ b/apps/presentationeditor/main/app/controller/Main.js @@ -221,6 +221,14 @@ define([ }); this.initNames(); + Common.util.Shortcuts.delegateShortcuts({ + shortcuts: { + 'command+s,ctrl+s': _.bind(function (e) { + e.preventDefault(); + e.stopPropagation(); + }, this) + } + }); } },