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

правка бага 22040 - [Charts] Ошибка в консоли при выделении автофигуры и диаграммы через ctrl

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51589 954022d7-b5bf-4e40-9824-e11837661b57
parent cb531b92
...@@ -1755,10 +1755,10 @@ function handleChart(paraDrawing, graphicObjects, x, y, e, pageIndex) ...@@ -1755,10 +1755,10 @@ function handleChart(paraDrawing, graphicObjects, x, y, e, pageIndex)
{ {
if((_common_selection_array.length > 0 && _common_selection_array[0].Is_Inline())) if((_common_selection_array.length > 0 && _common_selection_array[0].Is_Inline()))
return true; return true;
if(chart.selected === false) if(chart.parent.selected === false)
{ {
chart.select(pageIndex); chart.parent.select(pageIndex);
_common_selection_array.push(chart); _common_selection_array.push(chart.parent);
_common_selection_array.sort(ComparisonByZIndex); _common_selection_array.sort(ComparisonByZIndex);
......
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