Commit 55ef20a1 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с пересылкой изменений


git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@54844 954022d7-b5bf-4e40-9824-e11837661b57
parent afbe220d
......@@ -632,7 +632,11 @@ function CCollaborativeEditing()
var Item = Point.Items[Index];
var oChanges = new CCollaborativeChanges();
oChanges.Set_FromUndoRedo( Item.Class, Item.Data, Item.Binary );
aChanges.push( oChanges );
var oChanges2 = new Object();
oChanges2["Id"] = oChanges.m_sId;
oChanges2["Data"] = oChanges.m_pData;
aChanges.push( oChanges2 );
}
}
......
......@@ -1555,8 +1555,8 @@ asc_docs_api.prototype._coAuthoringInit = function()
for ( var Index = 0; Index < Count; Index++ )
{
var Changes = new CCollaborativeChanges();
Changes.Set_Id( e[Index].m_sId );
Changes.Set_Data( e[Index].m_pData );
Changes.Set_Id( e[Index]["Id"] );
Changes.Set_Data( e[Index]["Data"] );
CollaborativeEditing.Add_Changes( Changes );
}
......
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