From 0ee904ab39a2147edb554c1ad71176032bd0f061 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Wed, 14 Mar 2018 17:54:25 +0300 Subject: [PATCH] [ALL] removed event for desktop --- apps/common/main/lib/controller/Desktop.js | 4 ---- apps/documenteditor/main/index.html.deploy | 4 ---- apps/presentationeditor/main/index.html.deploy | 4 ---- apps/spreadsheeteditor/main/index.html.deploy | 4 ---- 4 files changed, 16 deletions(-) diff --git a/apps/common/main/lib/controller/Desktop.js b/apps/common/main/lib/controller/Desktop.js index a395d131a..add4de842 100644 --- a/apps/common/main/lib/controller/Desktop.js +++ b/apps/common/main/lib/controller/Desktop.js @@ -45,10 +45,6 @@ define([ var config = {}; var app = window.AscDesktopEditor; - // if ( app ) { - // app.execCommand('doc:onload', ''); - // } - return { init: function (opts) { _.extend(config, opts); diff --git a/apps/documenteditor/main/index.html.deploy b/apps/documenteditor/main/index.html.deploy index c400cc771..9c673db2f 100644 --- a/apps/documenteditor/main/index.html.deploy +++ b/apps/documenteditor/main/index.html.deploy @@ -217,10 +217,6 @@ .replace(/>/g, '>'); } - if ( window.AscDesktopEditor ) { - window.AscDesktopEditor.execCommand('doc:onload', ''); - } - var params = getUrlParams(), lang = (params["lang"] || 'en').split(/[\-\_]/)[0], customer = params["customer"] ? ('
' + encodeUrlParam(params["customer"]) + '
') : '', diff --git a/apps/presentationeditor/main/index.html.deploy b/apps/presentationeditor/main/index.html.deploy index e53735d94..8ee29fc49 100644 --- a/apps/presentationeditor/main/index.html.deploy +++ b/apps/presentationeditor/main/index.html.deploy @@ -217,10 +217,6 @@ .replace(/>/g, '>'); } - if ( window.AscDesktopEditor ) { - window.AscDesktopEditor.execCommand('doc:onload', ''); - } - var params = getUrlParams(), lang = (params["lang"] || 'en').split(/[\-\_]/)[0], customer = params["customer"] ? ('
' + encodeUrlParam(params["customer"]) + '
') : '', diff --git a/apps/spreadsheeteditor/main/index.html.deploy b/apps/spreadsheeteditor/main/index.html.deploy index f1bcef03e..9f4009e4d 100644 --- a/apps/spreadsheeteditor/main/index.html.deploy +++ b/apps/spreadsheeteditor/main/index.html.deploy @@ -216,10 +216,6 @@ .replace(/>/g, '>'); } - if ( window.AscDesktopEditor ) { - window.AscDesktopEditor.execCommand('doc:onload', ''); - } - var params = getUrlParams(), lang = (params["lang"] || 'en').split(/[\-\_]/)[0], customer = params["customer"] ? ('
' + encodeUrlParam(params["customer"]) + '
') : '',