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

fix bug #29235

При открытии документа на view-режиме не должны останавливать сборку.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@62287 954022d7-b5bf-4e40-9824-e11837661b57
parent 89980bf1
......@@ -1038,7 +1038,8 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
"editorid" : c_oEditorId.Spreadsheet,
"url" : this.documentUrl,
"title" : this.documentTitle,
"embeddedfonts" : this.isUseEmbeddedCutFonts
"embeddedfonts" : this.isUseEmbeddedCutFonts,
"viewmode" : this.asc_getViewerMode()
};
if (false && this.documentOpenOptions && this.documentOpenOptions["isEmpty"]) {
var sEmptyWorkbook = getEmptyWorkbook();
......
......@@ -859,7 +859,8 @@ asc_docs_api.prototype.LoadDocument = function(c_DocInfo)
"c":"open",
"url": documentUrl,
"title": documentTitle,
"embeddedfonts": this.isUseEmbeddedCutFonts};
"embeddedfonts": this.isUseEmbeddedCutFonts,
"viewmode": this.isViewMode};
sendCommand( oThis, function(){}, rData );
......
......@@ -850,7 +850,8 @@ asc_docs_api.prototype.LoadDocument = function(c_DocInfo)
"c": "open",
"url": documentUrl,
"title": documentTitle,
"embeddedfonts": this.isUseEmbeddedCutFonts};
"embeddedfonts": this.isUseEmbeddedCutFonts,
"viewmode": this.isViewMode};
sendCommand( oThis, function(){}, rData );
}
......
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