Commit da0f8729 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

баг с красными крестами

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66572 954022d7-b5bf-4e40-9824-e11837661b57
parent b7975cad
......@@ -93,12 +93,11 @@ CCollaborativeEditing.prototype.Apply_LinkData = function()
var Item = this.m_aLinkData[Index];
Item.Class.Load_LinkData( Item.LinkData );
}
this.Clear_LinkData();
if(this.m_aNewImages.length > 0)
{
var old_val = Asc["editor"].ImageLoader.bIsAsyncLoadDocumentImages;
Asc["editor"].ImageLoader.bIsAsyncLoadDocumentImages = true;
Asc["editor"].ImageLoader.LoadDocumentImages(this.m_aNewImages, null, function()
{
CollaborativeEditing.m_aNewImages.length = 0;
......@@ -106,7 +105,7 @@ CCollaborativeEditing.prototype.Apply_LinkData = function()
var worksheet = Asc["editor"].wb.getWorksheet();
worksheet && worksheet.objectRender && worksheet.objectRender.controller && worksheet.objectRender.controller.getGraphicObjectProps();
});
Asc["editor"].ImageLoader.bIsAsyncLoadDocumentImages = old_val;
}
};
//-----------------------------------------------------------------------------------
......
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