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"]) + '
') : '',