diff --git a/apps/documenteditor/embed/js/ApplicationController.js b/apps/documenteditor/embed/js/ApplicationController.js index d0092f1b8a..283a10b236 100644 --- a/apps/documenteditor/embed/js/ApplicationController.js +++ b/apps/documenteditor/embed/js/ApplicationController.js @@ -89,6 +89,7 @@ DE.ApplicationController = new(function(){ ttOffset[1] = 40; } + config.mode = 'view'; // always view for embedded config.canCloseEditor = false; var _canback = false; if (typeof config.customization === 'object') { diff --git a/apps/presentationeditor/embed/js/ApplicationController.js b/apps/presentationeditor/embed/js/ApplicationController.js index c16c54ea34..324d225c8f 100644 --- a/apps/presentationeditor/embed/js/ApplicationController.js +++ b/apps/presentationeditor/embed/js/ApplicationController.js @@ -86,6 +86,7 @@ PE.ApplicationController = new(function(){ $('#box-preview').addClass('top'); } + config.mode = 'view'; // always view for embedded config.canCloseEditor = false; var _canback = false; if (typeof config.customization === 'object') { diff --git a/apps/spreadsheeteditor/embed/js/ApplicationController.js b/apps/spreadsheeteditor/embed/js/ApplicationController.js index cd8ce6541d..ec5f22c09c 100644 --- a/apps/spreadsheeteditor/embed/js/ApplicationController.js +++ b/apps/spreadsheeteditor/embed/js/ApplicationController.js @@ -86,6 +86,7 @@ SSE.ApplicationController = new(function(){ $('.viewer').addClass('top'); } + config.mode = 'view'; // always view for embedded config.canCloseEditor = false; var _canback = false; if (typeof config.customization === 'object') {