Commit dc534eaa authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

onFirstConnect в base

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66458 954022d7-b5bf-4e40-9824-e11837661b57
parent 7ecdb182
......@@ -204,6 +204,10 @@ baseEditorsApi.prototype._coAuthoringInitBase = function() {
this.CoAuthoringApi.set_url(null);
}
this.CoAuthoringApi.onFirstConnect = function() {
t.isOnFirstConnectEnd = true;
t._onEndPermissions();
};
this.CoAuthoringApi.onWarning = function(e) {
t.sendEvent('asc_onError', c_oAscError.ID.Warning, c_oAscError.Level.NoCritical);
};
......
......@@ -1303,10 +1303,6 @@ var editor;
this.CoAuthoringApi.onEndCoAuthoring = function(isStartEvent) {
t.endCollaborationEditing();
};
this.CoAuthoringApi.onFirstConnect = function() {
t.isOnFirstConnectEnd = true;
t._onEndPermissions();
};
/**
* Event об отсоединении от сервера
* @param {jQuery} e event об отсоединении с причиной
......
......@@ -377,10 +377,6 @@ asc_docs_api.prototype._coAuthoringInit = function() {
t.WordControl.m_oLogicDocument.DrawingDocument.FirePaint();
}
};
this.CoAuthoringApi.onFirstConnect = function() {
t.isOnFirstConnectEnd = true;
t._onEndPermissions();
};
/**
* Event об отсоединении от сервера
* @param {jQuery} e event об отсоединении с причиной
......
......@@ -1078,10 +1078,6 @@ asc_docs_api.prototype._coAuthoringInit = function() {
CollaborativeEditing.End_CollaborationEditing();
editor.asc_setDrawCollaborationMarks(false);
};
this.CoAuthoringApi.onFirstConnect = function() {
t.isOnFirstConnectEnd = true;
t._onEndPermissions();
};
/**
* Event об отсоединении от сервера
* @param {jQuery} e event об отсоединении с причиной
......
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