Commit 39615239 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 32575 - Не удаляются элементы диаграммы во фрейме

parent 215d6800
...@@ -4420,8 +4420,7 @@ DrawingObjectsController.prototype = ...@@ -4420,8 +4420,7 @@ DrawingObjectsController.prototype =
remove: function(dir, bOnlyText, bRemoveOnlySelection) remove: function(dir, bOnlyText, bRemoveOnlySelection)
{ {
var content = this.getTargetDocContent(); if(Asc["editor"] && Asc["editor"].isChartEditor && (!this.selection.chartSelection))
if(Asc["editor"] && Asc["editor"].isChartEditor && !content)
{ {
return; return;
} }
......
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