From 4196914962f2b79501e856ac8712b050b17f4576 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 30 Oct 2019 14:48:09 +0300 Subject: [PATCH] [DE][SSE] Send "embedded" parameter to sdk (#259) --- apps/documenteditor/embed/js/ApplicationController.js | 3 ++- apps/spreadsheeteditor/embed/js/ApplicationController.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/documenteditor/embed/js/ApplicationController.js b/apps/documenteditor/embed/js/ApplicationController.js index 07d2debb1..91184b080 100644 --- a/apps/documenteditor/embed/js/ApplicationController.js +++ b/apps/documenteditor/embed/js/ApplicationController.js @@ -513,7 +513,8 @@ DE.ApplicationController = new(function(){ window["flat_desine"] = true; api = new Asc.asc_docs_api({ - 'id-view' : 'editor_sdk' + 'id-view' : 'editor_sdk', + 'embedded' : true }); if (api){ diff --git a/apps/spreadsheeteditor/embed/js/ApplicationController.js b/apps/spreadsheeteditor/embed/js/ApplicationController.js index 9dafa9ae0..f446c6a07 100644 --- a/apps/spreadsheeteditor/embed/js/ApplicationController.js +++ b/apps/spreadsheeteditor/embed/js/ApplicationController.js @@ -532,7 +532,8 @@ SSE.ApplicationController = new(function(){ }); api = new Asc.spreadsheet_api({ - 'id-view': 'editor_sdk' + 'id-view': 'editor_sdk', + 'embedded' : true }); if (api){