Commit 9e7e064d authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

перестал работать mailmerge

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@62200 954022d7-b5bf-4e40-9824-e11837661b57
parent 32b92129
...@@ -11,7 +11,9 @@ var g_nMaxRequestLength = 1048576;//<requestLimits maxAllowedContentLength="3000 ...@@ -11,7 +11,9 @@ var g_nMaxRequestLength = 1048576;//<requestLimits maxAllowedContentLength="3000
function g_fSaveWithParts(fSendCommand, fCallback, oAdditionalData, aParts) { function g_fSaveWithParts(fSendCommand, fCallback, oAdditionalData, aParts) {
if(null == aParts){ if(null == aParts){
var nDataLength = oAdditionalData["data"].length; var nDataLength = 0;
if(null != oAdditionalData["data"])
nDataLength = oAdditionalData["data"].length;
aParts = []; aParts = [];
if(nDataLength > g_nMaxRequestLength){ if(nDataLength > g_nMaxRequestLength){
for(var i = 0; i < Math.ceil(nDataLength / g_nMaxRequestLength); ++i) for(var i = 0; i < Math.ceil(nDataLength / g_nMaxRequestLength); ++i)
......
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