Commit c4c997ef authored by Alexander.Trofimov's avatar Alexander.Trofimov

onAuthParticipantsChanged, onParticipantsChanged to baseEditorsApi

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66488 954022d7-b5bf-4e40-9824-e11837661b57
parent cb0de2f5
......@@ -221,6 +221,12 @@ baseEditorsApi.prototype._coAuthoringInit = function() {
this.CoAuthoringApi.onMessage = function(e, clear) {
t.sendEvent('asc_onCoAuthoringChatReceiveMessage', e, clear);
};
this.CoAuthoringApi.onAuthParticipantsChanged = function(e, count) {
t.sendEvent("asc_onAuthParticipantsChanged", e, count);
};
this.CoAuthoringApi.onParticipantsChanged = function(e, CountEditUsers) {
t.sendEvent("asc_onParticipantsChanged", e, CountEditUsers);
};
this.CoAuthoringApi.onSpellCheckInit = function(e) {
t.SpellCheckUrl = e;
t._coSpellCheckInit();
......
......@@ -1129,12 +1129,6 @@ var editor;
}
}, this.getViewMode());
this.CoAuthoringApi.onParticipantsChanged = function(e, count) {
t.handlers.trigger("asc_onParticipantsChanged", e, count);
};
this.CoAuthoringApi.onAuthParticipantsChanged = function(e, count) {
t.handlers.trigger("asc_onAuthParticipantsChanged", e, count);
};
this.CoAuthoringApi.onConnectionStateChanged = function(e) {
t.handlers.trigger("asc_onConnectionStateChanged", e);
};
......
......@@ -129,12 +129,6 @@ asc_docs_api.prototype._coAuthoringSetChanges = function(e, oColor)
asc_docs_api.prototype._coAuthoringInitEnd = function() {
var t = this;
this.CoAuthoringApi.onParticipantsChanged = function(e, count) {
t.asc_fireCallback("asc_onParticipantsChanged", e, count);
};
this.CoAuthoringApi.onAuthParticipantsChanged = function(e, count) {
t.asc_fireCallback("asc_onAuthParticipantsChanged", e, count);
};
this.CoAuthoringApi.onCursor = function(e) {
if (true === CollaborativeEditing.Is_Fast()) {
t.WordControl.m_oLogicDocument.Update_ForeignCursor(e[e.length - 1]['cursor'], e[e.length - 1]['user'], true);
......
......@@ -917,12 +917,6 @@ asc_docs_api.prototype._coAuthoringSetChanges = function(e, oColor)
asc_docs_api.prototype._coAuthoringInitEnd = function() {
var t = this;
this.CoAuthoringApi.onParticipantsChanged = function(e, CountEditUsers) {
t.asc_fireCallback("asc_onParticipantsChanged", e, CountEditUsers);
};
this.CoAuthoringApi.onAuthParticipantsChanged = function(e, count) {
t.asc_fireCallback("asc_onAuthParticipantsChanged", e, count);
};
this.CoAuthoringApi.onCursor = function(e) {
if (true === CollaborativeEditing.Is_Fast()) {
t.WordControl.m_oLogicDocument.Update_ForeignCursor(e[e.length - 1]['cursor'], e[e.length - 1]['user'], true);
......
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