Commit c83066e7 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@59875 954022d7-b5bf-4e40-9824-e11837661b57
parent bfd89033
......@@ -726,21 +726,25 @@ function CCollaborativeEditing()
this.Apply_Changes = function()
{
editor.WordControl.m_oLogicDocument.Stop_Recalculate();
var OtherChanges = ( this.m_aChanges.length > 0 ? true : false );
if(OtherChanges === true)
{
editor.WordControl.m_oLogicDocument.Stop_Recalculate();
editor.sync_StartAction(c_oAscAsyncActionType.BlockInteraction, c_oAscAsyncAction.ApplyChanges);
editor.sync_StartAction(c_oAscAsyncActionType.BlockInteraction, c_oAscAsyncAction.ApplyChanges);
var LogicDocument = editor.WordControl.m_oLogicDocument;
var LogicDocument = editor.WordControl.m_oLogicDocument;
if(LogicDocument.Slides[LogicDocument.CurPage])
{
LogicDocument.Slides[LogicDocument.CurPage].graphicObjects.resetSelection();
if(LogicDocument.Slides[LogicDocument.CurPage])
{
LogicDocument.Slides[LogicDocument.CurPage].graphicObjects.resetSelection();
}
this.Clear_NewImages();
this.Apply_OtherChanges();
// После того как мы приняли чужие изменения, мы должны залочить новые объекты, которые били залочены
this.Lock_NeedLock();
this.OnStart_Load_Objects();
}
this.Clear_NewImages();
this.Apply_OtherChanges();
// После того как мы приняли чужие изменения, мы должны залочить новые объекты, которые били залочены
this.Lock_NeedLock();
this.OnStart_Load_Objects();
};
this.Send_Changes = function()
......
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