Commit 8c3aa754 authored by Alexander.Trofimov's avatar 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 02cb3cbe
...@@ -204,6 +204,10 @@ baseEditorsApi.prototype._coAuthoringInitBase = function() { ...@@ -204,6 +204,10 @@ baseEditorsApi.prototype._coAuthoringInitBase = function() {
this.CoAuthoringApi.set_url(null); this.CoAuthoringApi.set_url(null);
} }
this.CoAuthoringApi.onFirstConnect = function() {
t.isOnFirstConnectEnd = true;
t._onEndPermissions();
};
this.CoAuthoringApi.onWarning = function(e) { this.CoAuthoringApi.onWarning = function(e) {
t.sendEvent('asc_onError', c_oAscError.ID.Warning, c_oAscError.Level.NoCritical); t.sendEvent('asc_onError', c_oAscError.ID.Warning, c_oAscError.Level.NoCritical);
}; };
......
...@@ -1303,10 +1303,6 @@ var editor; ...@@ -1303,10 +1303,6 @@ var editor;
this.CoAuthoringApi.onEndCoAuthoring = function(isStartEvent) { this.CoAuthoringApi.onEndCoAuthoring = function(isStartEvent) {
t.endCollaborationEditing(); t.endCollaborationEditing();
}; };
this.CoAuthoringApi.onFirstConnect = function() {
t.isOnFirstConnectEnd = true;
t._onEndPermissions();
};
/** /**
* Event об отсоединении от сервера * Event об отсоединении от сервера
* @param {jQuery} e event об отсоединении с причиной * @param {jQuery} e event об отсоединении с причиной
......
...@@ -377,10 +377,6 @@ asc_docs_api.prototype._coAuthoringInit = function() { ...@@ -377,10 +377,6 @@ asc_docs_api.prototype._coAuthoringInit = function() {
t.WordControl.m_oLogicDocument.DrawingDocument.FirePaint(); t.WordControl.m_oLogicDocument.DrawingDocument.FirePaint();
} }
}; };
this.CoAuthoringApi.onFirstConnect = function() {
t.isOnFirstConnectEnd = true;
t._onEndPermissions();
};
/** /**
* Event об отсоединении от сервера * Event об отсоединении от сервера
* @param {jQuery} e event об отсоединении с причиной * @param {jQuery} e event об отсоединении с причиной
......
...@@ -1078,10 +1078,6 @@ asc_docs_api.prototype._coAuthoringInit = function() { ...@@ -1078,10 +1078,6 @@ asc_docs_api.prototype._coAuthoringInit = function() {
CollaborativeEditing.End_CollaborationEditing(); CollaborativeEditing.End_CollaborationEditing();
editor.asc_setDrawCollaborationMarks(false); editor.asc_setDrawCollaborationMarks(false);
}; };
this.CoAuthoringApi.onFirstConnect = function() {
t.isOnFirstConnectEnd = true;
t._onEndPermissions();
};
/** /**
* Event об отсоединении от сервера * Event об отсоединении от сервера
* @param {jQuery} e 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