Commit 82a20ffc authored by Sergey.Luzyanin's avatar Sergey.Luzyanin

баг с перескакиванием на первую страницу

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@65423 954022d7-b5bf-4e40-9824-e11837661b57
parent 17475f38
...@@ -4300,18 +4300,33 @@ DrawingObjectsController.prototype = ...@@ -4300,18 +4300,33 @@ DrawingObjectsController.prototype =
if(oContent) if(oContent)
{ {
oContent.Selection_Remove(); oContent.Selection_Remove();
var oTextSelection;
if(this.selection.groupSelection) if(this.selection.groupSelection)
{ {
oTextSelection = this.selection.groupSelection.selection.textSelection;
this.selection.groupSelection.selection.textSelection = null; this.selection.groupSelection.selection.textSelection = null;
} }
if(this.selection.textSelection) if(this.selection.textSelection)
{ {
oTextSelection = this.selection.textSelection;
this.selection.textSelection = null; this.selection.textSelection = null;
} }
if(oTextSelection && oTextSelection.recalcInfo)
{
if(oTextSelection.recalcInfo.bRecalculatedTitle)
{
oTextSelection.recalcInfo.recalcTitle = null;
oTextSelection.recalcInfo.bRecalculatedTitle = false;
}
}
if(this.selection.chartSelection) if(this.selection.chartSelection)
{ {
this.selection.chartSelection.selection.textSelection = null this.selection.chartSelection.selection.textSelection = null
} }
} }
}, },
......
...@@ -286,6 +286,11 @@ function CCollaborativeEditing() ...@@ -286,6 +286,11 @@ function CCollaborativeEditing()
this.m_aNeedUnlock2.push( Lock ); this.m_aNeedUnlock2.push( Lock );
}; };
this.Is_Fast = function()
{
return false;
};
this.Apply_OtherChanges = function() this.Apply_OtherChanges = 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