Commit 8dae999f authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

Options "IsEmpty" -> "isEmpty"

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51487 954022d7-b5bf-4e40-9824-e11837661b57
parent da7c37c2
......@@ -932,7 +932,7 @@ var ASC_DOCS_API_USE_EMBEDDED_FONTS = "@@ASC_DOCS_API_USE_EMBEDDED_FONTS";
}
}
else {
if(this.documentOpenOptions && this.documentOpenOptions["IsEmpty"])
if(this.documentOpenOptions && this.documentOpenOptions["isEmpty"])
{
var sEmptyWorkbook = getEmptyWorkbook();
var v = {"id":this.documentId, "format": this.documentFormat, "vkey": this.documentVKey, "editorid": c_oEditorId.Speadsheet, "c":"create", "url": this.documentUrl, "title": this.documentTitle, "embeddedfonts": this.isUseEmbeddedCutFonts, "data": sEmptyWorkbook};
......
......@@ -931,7 +931,7 @@ asc_docs_api.prototype.LoadDocument = function(c_DocInfo)
if(documentId){
var oOpenOptions = this.DocInfo.get_Options();
if(oOpenOptions && oOpenOptions["IsEmpty"])
if(oOpenOptions && oOpenOptions["isEmpty"])
{
var rData = {"id":documentId, "format": documentFormat, "vkey": documentVKey, "editorid": c_oEditorId.Word, "c":"create", "url": documentUrl, "title": documentTitle, "embeddedfonts": this.isUseEmbeddedCutFonts, "data": g_sEmpty_bin};
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