Commit a33612ed authored by Sergey.Luzyanin's avatar Sergey.Luzyanin

Bug 30802 - [CoEdit] Не лочится диаграмма, если открыть фрейм с помощью "edit data"

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66534 954022d7-b5bf-4e40-9824-e11837661b57
parent e56d2c39
......@@ -1169,7 +1169,7 @@ CGraphicObjects.prototype =
handleChartDoubleClick: function(drawing, chart, e, x, y, pageIndex)
{
if(false === this.document.Document_Is_SelectionLocked(changestype_Drawing_Props, {Type : changestype_2_Element_and_Type , Element : drawing.Get_ParentParagraph(), CheckType : changestype_Paragraph_Content} ))
if(false === this.document.Document_Is_SelectionLocked(changestype_Drawing_Props))
{
editor.asc_doubleClickOnChart(this.getChartObject());
}
......
......@@ -6499,6 +6499,10 @@ asc_docs_api.prototype.asc_getChartObject = function(type)
{
this.isChartEditor = true; // Для совместного редактирования
if(!isRealNumber(type))
{
this.WordControl.m_oLogicDocument.Document_Is_SelectionLocked(changestype_Drawing_Props);
}
return this.WordControl.m_oLogicDocument.Get_ChartObject(type);
};
......
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