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

Bug 30141 - [CoEdit] Контекстное меню не лочится, при редактировании текста внутри автофигуры

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64290 954022d7-b5bf-4e40-9824-e11837661b57
parent b23fb796
...@@ -7067,9 +7067,9 @@ CDocumentContent.prototype = ...@@ -7067,9 +7067,9 @@ CDocumentContent.prototype =
if (docpostype_DrawingObjects === this.LogicDocument.CurPos.Type && true !== ParaPr.Locked) if (docpostype_DrawingObjects === this.LogicDocument.CurPos.Type && true !== ParaPr.Locked)
{ {
var ParaDrawing = this.LogicDocument.DrawingObjects.getMajorParaDrawing(); var ParaDrawing = this.LogicDocument.DrawingObjects.getMajorParaDrawing();
if (ParaDrawing.Parent instanceof Paragraph) if (ParaDrawing)
{ {
ParaPr.Locked = ParaDrawing.Parent.Lock.Is_Locked(); ParaPr.Locked = ParaDrawing.Lock.Is_Locked();
} }
} }
} }
......
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