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

onMessage в baseEditorsApi

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66459 954022d7-b5bf-4e40-9824-e11837661b57
parent 8c3aa754
......@@ -204,6 +204,9 @@ baseEditorsApi.prototype._coAuthoringInitBase = function() {
this.CoAuthoringApi.set_url(null);
}
this.CoAuthoringApi.onMessage = function(e, clear) {
t.sendEvent('asc_onCoAuthoringChatReceiveMessage', e, clear);
};
this.CoAuthoringApi.onFirstConnect = function() {
t.isOnFirstConnectEnd = true;
t._onEndPermissions();
......
......@@ -1112,9 +1112,6 @@ var editor;
this.CoAuthoringApi.onAuthParticipantsChanged = function(e, count) {
t.handlers.trigger("asc_onAuthParticipantsChanged", e, count);
};
this.CoAuthoringApi.onMessage = function(e, clear) {
t.handlers.trigger("asc_onCoAuthoringChatReceiveMessage", e, clear);
};
this.CoAuthoringApi.onConnectionStateChanged = function(e) {
t.handlers.trigger("asc_onConnectionStateChanged", e);
};
......
......@@ -136,9 +136,6 @@ asc_docs_api.prototype._coAuthoringInit = function() {
this.CoAuthoringApi.onAuthParticipantsChanged = function(e, count) {
t.asc_fireCallback("asc_onAuthParticipantsChanged", e, count);
};
this.CoAuthoringApi.onMessage = function(e, clear) {
t.asc_fireCallback("asc_onCoAuthoringChatReceiveMessage", e, clear);
};
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);
......
......@@ -924,9 +924,6 @@ asc_docs_api.prototype._coAuthoringInit = function() {
this.CoAuthoringApi.onAuthParticipantsChanged = function(e, count) {
t.asc_fireCallback("asc_onAuthParticipantsChanged", e, count);
};
this.CoAuthoringApi.onMessage = function(e, clear) {
t.asc_fireCallback("asc_onCoAuthoringChatReceiveMessage", e, clear);
};
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