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

Удалил подписку для mailmerge. Она осуществляется обычной подпиской.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@62517 954022d7-b5bf-4e40-9824-e11837661b57
parent 8183df4d
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
this.onEndCoAuthoring = options.onEndCoAuthoring; this.onEndCoAuthoring = options.onEndCoAuthoring;
this.onUnSaveLock = options.onUnSaveLock; this.onUnSaveLock = options.onUnSaveLock;
this.onRecalcLocks = options.onRecalcLocks; this.onRecalcLocks = options.onRecalcLocks;
this.onMailMerge = options.onMailMerge;
} }
} }
...@@ -50,7 +49,6 @@ ...@@ -50,7 +49,6 @@
this._CoAuthoringApi.onEndCoAuthoring = function (e) {t.callback_OnEndCoAuthoring(e);}; this._CoAuthoringApi.onEndCoAuthoring = function (e) {t.callback_OnEndCoAuthoring(e);};
this._CoAuthoringApi.onUnSaveLock = function () {t.callback_OnUnSaveLock();}; this._CoAuthoringApi.onUnSaveLock = function () {t.callback_OnUnSaveLock();};
this._CoAuthoringApi.onRecalcLocks = function (e) {t.callback_OnRecalcLocks(e);}; this._CoAuthoringApi.onRecalcLocks = function (e) {t.callback_OnRecalcLocks(e);};
this._CoAuthoringApi.onMailMerge = function (e) {t.callback_OnMailMerge(e);};
this._CoAuthoringApi.init(user, docid, documentCallbackUrl, token, callback, editorType, documentFormatSave, isViewer); this._CoAuthoringApi.init(user, docid, documentCallbackUrl, token, callback, editorType, documentFormatSave, isViewer);
this._onlineWork = true; this._onlineWork = true;
...@@ -249,11 +247,6 @@ ...@@ -249,11 +247,6 @@
this.onRecalcLocks(e); this.onRecalcLocks(e);
}; };
CDocsCoApi.prototype.callback_OnMailMerge = function (e) {
if (this.onMailMerge)
this.onMailMerge(e);
};
function LockBufferElement (arrayBlockId, callback) { function LockBufferElement (arrayBlockId, callback) {
this._arrayBlockId = arrayBlockId; this._arrayBlockId = arrayBlockId;
this._callback = callback; this._callback = callback;
...@@ -275,7 +268,6 @@ ...@@ -275,7 +268,6 @@
this.onConnectionStateChanged = options.onConnectionStateChanged; this.onConnectionStateChanged = options.onConnectionStateChanged;
this.onUnSaveLock = options.onUnSaveLock; this.onUnSaveLock = options.onUnSaveLock;
this.onRecalcLocks = options.onRecalcLocks; this.onRecalcLocks = options.onRecalcLocks;
this.onMailMerge = options.onMailMerge;
} }
this._state = ConnectionState.None; this._state = ConnectionState.None;
// Online-пользователи в документе // Online-пользователи в документе
...@@ -842,10 +834,6 @@ ...@@ -842,10 +834,6 @@
this.onDisconnect(data ? data['description'] : '', true, this.isCloseCoAuthoring); this.onDisconnect(data ? data['description'] : '', true, this.isCloseCoAuthoring);
}; };
DocsCoApi.prototype._onMailMerge = function (data) {
this.onMailMerge(data['result']);
};
DocsCoApi.prototype._onAuth = function (data) { DocsCoApi.prototype._onAuth = function (data) {
if (true === this._isAuth) { if (true === this._isAuth) {
this._state = ConnectionState.Authorized; this._state = ConnectionState.Authorized;
...@@ -997,7 +985,6 @@ ...@@ -997,7 +985,6 @@
case 'drop' : t._onDrop(dataObject); break; case 'drop' : t._onDrop(dataObject); break;
case 'waitAuth' : /*Ждем, когда придет auth, документ залочен*/break; case 'waitAuth' : /*Ждем, когда придет auth, документ залочен*/break;
case 'error' : /*Старая версия sdk*/t._onDrop(dataObject); break; case 'error' : /*Старая версия sdk*/t._onDrop(dataObject); break;
case 'mailMerge' : t._onMailMerge(dataObject); break;
} }
}; };
sockjs.onclose = function (evt) { sockjs.onclose = function (evt) {
......
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