Commit 1399b2d8 authored by Alexander.Trofimov's avatar Alexander.Trofimov

CoAuthoringApi.init to baseEditorsApi

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66600 954022d7-b5bf-4e40-9824-e11837661b57
parent 45924c7b
...@@ -371,6 +371,7 @@ baseEditorsApi.prototype._coAuthoringInit = function() { ...@@ -371,6 +371,7 @@ baseEditorsApi.prototype._coAuthoringInit = function() {
}; };
this._coAuthoringInitEnd(); this._coAuthoringInitEnd();
this.CoAuthoringApi.init(this.User, this.documentId, this.documentCallbackUrl, 'fghhfgsjdgfjs', this.editorId, this.documentFormatSave);
}; };
baseEditorsApi.prototype._coAuthoringInitEnd = function() { baseEditorsApi.prototype._coAuthoringInitEnd = function() {
}; };
......
...@@ -1269,8 +1269,6 @@ var editor; ...@@ -1269,8 +1269,6 @@ var editor;
this.CoAuthoringApi.onEndCoAuthoring = function(isStartEvent) { this.CoAuthoringApi.onEndCoAuthoring = function(isStartEvent) {
t.endCollaborationEditing(); t.endCollaborationEditing();
}; };
this.CoAuthoringApi.init(this.User, this.documentId, this.documentCallbackUrl, 'fghhfgsjdgfjs', c_oEditorId.Spreadsheet, this.documentFormatSave);
}; };
spreadsheet_api.prototype._onSaveChanges = function(recalcIndexColumns, recalcIndexRows) { spreadsheet_api.prototype._onSaveChanges = function(recalcIndexColumns, recalcIndexRows) {
......
...@@ -354,8 +354,6 @@ asc_docs_api.prototype._coAuthoringInitEnd = function() { ...@@ -354,8 +354,6 @@ asc_docs_api.prototype._coAuthoringInitEnd = function() {
t.WordControl.m_oLogicDocument.DrawingDocument.FirePaint(); t.WordControl.m_oLogicDocument.DrawingDocument.FirePaint();
} }
}; };
this.CoAuthoringApi.init(this.User, this.documentId, this.documentCallbackUrl, 'fghhfgsjdgfjs', c_oEditorId.Presentation, this.documentFormatSave);
}; };
......
...@@ -1041,8 +1041,6 @@ asc_docs_api.prototype._coAuthoringInitEnd = function() { ...@@ -1041,8 +1041,6 @@ asc_docs_api.prototype._coAuthoringInitEnd = function() {
CollaborativeEditing.End_CollaborationEditing(); CollaborativeEditing.End_CollaborationEditing();
editor.asc_setDrawCollaborationMarks(false); editor.asc_setDrawCollaborationMarks(false);
}; };
this.CoAuthoringApi.init(this.User, this.documentId, this.documentCallbackUrl, 'fghhfgsjdgfjs', c_oEditorId.Word, this.documentFormatSave);
}; };
///////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////
......
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