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

Bug 30601 - Перестает отрисовываться график диаграммы после удаления заголовка и клика ПКМ

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@65377 954022d7-b5bf-4e40-9824-e11837661b57
parent b91209a0
......@@ -4925,7 +4925,7 @@ DrawingObjectsController.prototype =
}
if(chart_selection && chart_selection.selection.textSelection)
{
var content = chart_selection.selection.textSelection.getDocContent();
var content = chart_selection.selection.textSelection.getDocContent(), bDeleteTitle = false;;
if(content)
{
if(content.Is_Empty())
......@@ -4934,10 +4934,11 @@ DrawingObjectsController.prototype =
{
History.Create_NewPoint(historydescription_CommonControllerCheckChartText);
chart_selection.selection.title.parent.setTitle(null);
bDeleteTitle = true;
}
}
}
if(chart_selection.recalcInfo.bRecalculatedTitle)
if(chart_selection.recalcInfo.bRecalculatedTitle || bDeleteTitle)
{
chart_selection.recalcInfo.recalcTitle = null;
chart_selection.handleUpdateInternalChart();
......
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