[ALL] removed event for desktop

This commit is contained in:
Maxim Kadushkin 2018-03-14 17:54:25 +03:00
parent b50749f572
commit 0ee904ab39
4 changed files with 0 additions and 16 deletions

View file

@ -45,10 +45,6 @@ define([
var config = {}; var config = {};
var app = window.AscDesktopEditor; var app = window.AscDesktopEditor;
// if ( app ) {
// app.execCommand('doc:onload', '');
// }
return { return {
init: function (opts) { init: function (opts) {
_.extend(config, opts); _.extend(config, opts);

View file

@ -217,10 +217,6 @@
.replace(/>/g, '>'); .replace(/>/g, '>');
} }
if ( window.AscDesktopEditor ) {
window.AscDesktopEditor.execCommand('doc:onload', '');
}
var params = getUrlParams(), var params = getUrlParams(),
lang = (params["lang"] || 'en').split(/[\-\_]/)[0], lang = (params["lang"] || 'en').split(/[\-\_]/)[0],
customer = params["customer"] ? ('<div class="loader-page-text-customer">' + encodeUrlParam(params["customer"]) + '</div>') : '', customer = params["customer"] ? ('<div class="loader-page-text-customer">' + encodeUrlParam(params["customer"]) + '</div>') : '',

View file

@ -217,10 +217,6 @@
.replace(/>/g, '&gt;'); .replace(/>/g, '&gt;');
} }
if ( window.AscDesktopEditor ) {
window.AscDesktopEditor.execCommand('doc:onload', '');
}
var params = getUrlParams(), var params = getUrlParams(),
lang = (params["lang"] || 'en').split(/[\-\_]/)[0], lang = (params["lang"] || 'en').split(/[\-\_]/)[0],
customer = params["customer"] ? ('<div class="loader-page-text-customer">' + encodeUrlParam(params["customer"]) + '</div>') : '', customer = params["customer"] ? ('<div class="loader-page-text-customer">' + encodeUrlParam(params["customer"]) + '</div>') : '',

View file

@ -216,10 +216,6 @@
.replace(/>/g, '&gt;'); .replace(/>/g, '&gt;');
} }
if ( window.AscDesktopEditor ) {
window.AscDesktopEditor.execCommand('doc:onload', '');
}
var params = getUrlParams(), var params = getUrlParams(),
lang = (params["lang"] || 'en').split(/[\-\_]/)[0], lang = (params["lang"] || 'en').split(/[\-\_]/)[0],
customer = params["customer"] ? ('<div class="loader-page-text-customer">' + encodeUrlParam(params["customer"]) + '</div>') : '', customer = params["customer"] ? ('<div class="loader-page-text-customer">' + encodeUrlParam(params["customer"]) + '</div>') : '',