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

Bug 30568 - [CoEdit] Не лочится меню для автофигур, если они находятся в группе

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@65260 954022d7-b5bf-4e40-9824-e11837661b57
parent 8e19b477
......@@ -5603,6 +5603,21 @@ DrawingObjectsController.prototype =
}
}
}
else
{
var oParentGroup = drawing.group.getMainGroup();
if(oParentGroup)
{
locked = oParentGroup.lockType !== c_oAscLockTypes.kLockTypeNone && oParentGroup.lockType !== c_oAscLockTypes.kLockTypeMine ;
if(typeof editor !== "undefined" && isRealObject(editor) && editor.isPresentationEditor)
{
if(oParentGroup.Lock)
{
locked = oParentGroup.Lock.Is_Locked();
}
}
}
}
switch(drawing.getObjectType())
{
case historyitem_type_Shape:
......
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