Commit 8f29b594 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

CHART_STYLE_MANAGER create to baseEditorsApi

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66444 954022d7-b5bf-4e40-9824-e11837661b57
parent 8923c35b
...@@ -105,6 +105,8 @@ baseEditorsApi.prototype._baseInit = function() { ...@@ -105,6 +105,8 @@ baseEditorsApi.prototype._baseInit = function() {
InitDragAndDrop(this.HtmlElement, function(error, files) { InitDragAndDrop(this.HtmlElement, function(error, files) {
t._uploadCallback(error, files); t._uploadCallback(error, files);
}); });
CHART_STYLE_MANAGER = new CChartStyleManager();
}; };
baseEditorsApi.prototype.asc_GetFontThumbnailsPath = function() { baseEditorsApi.prototype.asc_GetFontThumbnailsPath = function() {
return '../Common/Images/'; return '../Common/Images/';
......
...@@ -393,7 +393,6 @@ var editor; ...@@ -393,7 +393,6 @@ var editor;
g_oUndoRedoRow = new UndoRedoRowCol(wbModel, true); g_oUndoRedoRow = new UndoRedoRowCol(wbModel, true);
g_oUndoRedoComment = new UndoRedoComment(wbModel); g_oUndoRedoComment = new UndoRedoComment(wbModel);
g_oUndoRedoAutoFilters = new UndoRedoAutoFilters(wbModel); g_oUndoRedoAutoFilters = new UndoRedoAutoFilters(wbModel);
CHART_STYLE_MANAGER = new CChartStyleManager();
}; };
spreadsheet_api.prototype._onEndPermissions = function() { spreadsheet_api.prototype._onEndPermissions = function() {
......
...@@ -93,8 +93,6 @@ function asc_docs_api(name) ...@@ -93,8 +93,6 @@ function asc_docs_api(name)
this.LongActionCallbacks = []; this.LongActionCallbacks = [];
this.LongActionCallbacksParams = []; this.LongActionCallbacksParams = [];
var oThis = this;
if (window.editor == undefined) if (window.editor == undefined)
{ {
window.editor = this; window.editor = this;
...@@ -104,8 +102,6 @@ function asc_docs_api(name) ...@@ -104,8 +102,6 @@ function asc_docs_api(name)
if (window["NATIVE_EDITOR_ENJINE"]) if (window["NATIVE_EDITOR_ENJINE"])
editor = window.editor; editor = window.editor;
} }
CHART_STYLE_MANAGER = new CChartStyleManager();
} }
asc.extendClass(asc_docs_api, baseEditorsApi); asc.extendClass(asc_docs_api, baseEditorsApi);
......
...@@ -365,8 +365,6 @@ function asc_docs_api(name) ...@@ -365,8 +365,6 @@ function asc_docs_api(name)
this.ParcedDocument = false; this.ParcedDocument = false;
this.isStartCoAuthoringOnEndLoad = false; // Подсоединились раньше, чем документ загрузился this.isStartCoAuthoringOnEndLoad = false; // Подсоединились раньше, чем документ загрузился
var oThis = this;
if (window.editor == undefined) if (window.editor == undefined)
{ {
window.editor = this; window.editor = this;
...@@ -376,7 +374,6 @@ function asc_docs_api(name) ...@@ -376,7 +374,6 @@ function asc_docs_api(name)
if (window["NATIVE_EDITOR_ENJINE"]) if (window["NATIVE_EDITOR_ENJINE"])
editor = window.editor; editor = window.editor;
} }
CHART_STYLE_MANAGER = new CChartStyleManager();
this.RevisionChangesStack = []; this.RevisionChangesStack = [];
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment