From 94f7ec00e9abdae143acf0eb75ee4df021669cf3 Mon Sep 17 00:00:00 2001 From: OVSharova Date: Fri, 10 Sep 2021 09:26:28 +0300 Subject: [PATCH] cleaning --- test/documenteditor/main/index.html | 10 +-- test/spreadsheeteditor/main/index.html | 39 +--------- .../main/js/ApplicationController.js | 51 +++--------- .../main/js/ApplicationView.js | 9 +-- .../common/main/lib/controller/CellEditor.js | 78 ++----------------- .../common/main/lib/view/CellEditor.js | 19 +---- .../common/main/resources/less/common.less | 3 +- 7 files changed, 34 insertions(+), 175 deletions(-) diff --git a/test/documenteditor/main/index.html b/test/documenteditor/main/index.html index 0fb8c859be..3e6950f0f6 100644 --- a/test/documenteditor/main/index.html +++ b/test/documenteditor/main/index.html @@ -62,10 +62,10 @@ } var params = getUrlParams(), - lang = (params["lang"] || 'en').split(/[\-\_]/)[0], - //logo = params["headerlogo"] ? encodeUrlParam(params["headerlogo"]) : null; + lang = (params["lang"] || 'en').split(/[\-\_]/)[0]; + logo = params["headerlogo"] ? encodeUrlParam(params["headerlogo"]) : null; - /*window.frameEditorId = params["frameEditorId"]; + window.frameEditorId = params["frameEditorId"]; window.parentOrigin = params["parentOrigin"]; var elem = document.querySelector('.loading-logo'); @@ -74,10 +74,10 @@ var img = document.querySelector('.loading-logo img'); img && img.setAttribute('src', logo); img.style.opacity = 1; - }*/ + } -
+
diff --git a/test/spreadsheeteditor/main/index.html b/test/spreadsheeteditor/main/index.html index 5736cbbdd9..139e938274 100644 --- a/test/spreadsheeteditor/main/index.html +++ b/test/spreadsheeteditor/main/index.html @@ -84,60 +84,29 @@ } var params = getUrlParams(), - lang = (params["lang"] || 'en').split(/[\-\_]/)[0], - logo = params["headerlogo"] ? encodeUrlParam(params["headerlogo"]) : null; + lang = (params["lang"] || 'en').split(/[\-\_]/)[0]; window.frameEditorId = params["frameEditorId"]; window.parentOrigin = params["parentOrigin"]; - - var elem = document.querySelector('.loading-logo'); - if (elem && logo) { - elem.style.backgroundImage= 'none'; - /*var img = document.querySelector('.loading-logo img'); - img && img.setAttribute('src', logo); - img.style.opacity = 1;*/ - }
+
-
- +
-
+
-
- -
-
-
-
-
-
- -
-
- -
-