Commit 446c5182 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Добавил в параметры совместного редактирования documentFormatSave

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@54652 954022d7-b5bf-4e40-9824-e11837661b57
parent e85d594c
...@@ -708,7 +708,8 @@ ...@@ -708,7 +708,8 @@
"locks":docsCoApi.ownedLockBlocks, "locks":docsCoApi.ownedLockBlocks,
"sessionId":docsCoApi._id, "sessionId":docsCoApi._id,
"serverHost": docsCoApi._serverHost, "serverHost": docsCoApi._serverHost,
"serverPath": docsCoApi._serverPath "serverPath": docsCoApi._serverPath,
"documentFormatSave": docsCoApi._documentFormatSave
}); });
}; };
...@@ -754,7 +755,7 @@ ...@@ -754,7 +755,7 @@
} }
DocsCoApi.prototype.init = function (user, docid, token, serverHost, serverPath, callback, editorType) { DocsCoApi.prototype.init = function (user, docid, token, serverHost, serverPath, callback, editorType, documentFormatSave) {
this._user = user; this._user = user;
this._docid = docid; this._docid = docid;
this._token = token; this._token = token;
...@@ -770,6 +771,7 @@ ...@@ -770,6 +771,7 @@
this._isExcel = c_oEditorId.Speadsheet === editorType; this._isExcel = c_oEditorId.Speadsheet === editorType;
this._isPresentation = c_oEditorId.Presentation === editorType; this._isPresentation = c_oEditorId.Presentation === editorType;
this._isAuth = false; this._isAuth = false;
this._documentFormatSave = documentFormatSave;
this.dataHandler = this.dataHandler =
{ {
......
...@@ -1649,8 +1649,8 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS"; ...@@ -1649,8 +1649,8 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
} }
}; };
this.CoAuthoringApi.init (t.User, t.documentId, 'fghhfgsjdgfjs', window.location.host, g_sMainServiceLocalUrl, function(){ this.CoAuthoringApi.init(t.User, t.documentId, 'fghhfgsjdgfjs', window.location.host, g_sMainServiceLocalUrl, function(){
}, c_oEditorId.Speadsheet); }, c_oEditorId.Speadsheet, t.documentFormatSave);
}, },
// Set CoAuthoring server url // Set CoAuthoring server url
......
...@@ -512,7 +512,7 @@ asc_docs_api.prototype._coAuthoringInit = function () { ...@@ -512,7 +512,7 @@ asc_docs_api.prototype._coAuthoringInit = function () {
}; };
this.CoAuthoringApi.init (editor.User, documentId, 'fghhfgsjdgfjs', window.location.host, g_sMainServiceLocalUrl, function(){ this.CoAuthoringApi.init (editor.User, documentId, 'fghhfgsjdgfjs', window.location.host, g_sMainServiceLocalUrl, function(){
}, c_oEditorId.Presentation); }, c_oEditorId.Presentation, documentFormatSave);
// ToDo init other callbacks // ToDo init other callbacks
}; };
......
...@@ -1607,7 +1607,7 @@ asc_docs_api.prototype._coAuthoringInit = function() ...@@ -1607,7 +1607,7 @@ asc_docs_api.prototype._coAuthoringInit = function()
}; };
this.CoAuthoringApi.init (editor.User, documentId, 'fghhfgsjdgfjs', window.location.host, g_sMainServiceLocalUrl, function(){ this.CoAuthoringApi.init (editor.User, documentId, 'fghhfgsjdgfjs', window.location.host, g_sMainServiceLocalUrl, function(){
}, c_oEditorId.Word); }, c_oEditorId.Word, documentFormatSave);
// ToDo init other callbacks // ToDo init other callbacks
} }
......
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