Commit 47c04b90 authored by Alexander.Trofimov's avatar Alexander.Trofimov

_coSpellCheckInit, onSpellCheckInit в baseEditorsApi

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66460 954022d7-b5bf-4e40-9824-e11837661b57
parent efeee6ef
......@@ -207,6 +207,10 @@ baseEditorsApi.prototype._coAuthoringInitBase = function() {
this.CoAuthoringApi.onMessage = function(e, clear) {
t.sendEvent('asc_onCoAuthoringChatReceiveMessage', e, clear);
};
this.CoAuthoringApi.onSpellCheckInit = function(e) {
t.SpellCheckUrl = e;
t._coSpellCheckInit();
};
this.CoAuthoringApi.onFirstConnect = function() {
t.isOnFirstConnectEnd = true;
t._onEndPermissions();
......@@ -215,6 +219,9 @@ baseEditorsApi.prototype._coAuthoringInitBase = function() {
t.sendEvent('asc_onError', c_oAscError.ID.Warning, c_oAscError.Level.NoCritical);
};
};
// SpellCheck
baseEditorsApi.prototype._coSpellCheckInit = function() {
};
// Images & Charts & TextArts
baseEditorsApi.prototype.asc_setChartTranslate = function(translate) {
this.chartTranslate = translate;
......
......@@ -1275,9 +1275,6 @@ var editor;
this.CoAuthoringApi.onFirstLoadChangesEnd = function() {
t.asyncServerIdEndLoaded();
};
this.CoAuthoringApi.onSpellCheckInit = function(e) {
t.SpellCheckUrl = e;
};
this.CoAuthoringApi.onSetIndexUser = function(e) {
g_oIdCounter.Set_UserId('' + e);
};
......
......@@ -343,10 +343,6 @@ asc_docs_api.prototype._coAuthoringInit = function() {
this.CoAuthoringApi.onFirstLoadChangesEnd = function() {
t.asyncServerIdEndLoaded();
};
this.CoAuthoringApi.onSpellCheckInit = function(e) {
t.SpellCheckUrl = e;
// ToDo Init SpellCheck
};
this.CoAuthoringApi.onSetIndexUser = function(e) {
g_oIdCounter.Set_UserId('' + e);
};
......
......@@ -1040,10 +1040,6 @@ asc_docs_api.prototype._coAuthoringInit = function() {
this.CoAuthoringApi.onFirstLoadChangesEnd = function() {
t.asyncServerIdEndLoaded();
};
this.CoAuthoringApi.onSpellCheckInit = function(e) {
t.SpellCheckUrl = e;
t._coSpellCheckInit();
};
this.CoAuthoringApi.onSetIndexUser = function(e) {
g_oIdCounter.Set_UserId('' + e);
};
......
......@@ -131,7 +131,6 @@ asc_docs_api.prototype['asc_coAuthoringChatSendMessage'] = asc_docs_api.prototyp
asc_docs_api.prototype['asc_coAuthoringChatGetMessages'] = asc_docs_api.prototype.asc_coAuthoringChatGetMessages;
asc_docs_api.prototype['asc_coAuthoringGetUsers'] = asc_docs_api.prototype.asc_coAuthoringGetUsers;
asc_docs_api.prototype['asc_coAuthoringDisconnect'] = asc_docs_api.prototype.asc_coAuthoringDisconnect;
asc_docs_api.prototype['_coSpellCheckInit'] = asc_docs_api.prototype._coSpellCheckInit;
asc_docs_api.prototype['asc_getSpellCheckLanguages'] = asc_docs_api.prototype.asc_getSpellCheckLanguages;
asc_docs_api.prototype['asc_SpellCheckDisconnect'] = asc_docs_api.prototype.asc_SpellCheckDisconnect;
asc_docs_api.prototype['_onUpdateDocumentCanSave'] = asc_docs_api.prototype._onUpdateDocumentCanSave;
......
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