Commit a77dc773 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 32429 - [Copy&Paste] JS ошибка после вставки таблицы из CDE

parent 6c8a7d40
......@@ -3799,7 +3799,7 @@ CPresentation.prototype =
Content.Drawings[i].Drawing.checkExtentsByDocContent && Content.Drawings[i].Drawing.checkExtentsByDocContent();
this.Slides[this.CurPage].graphicObjects.selectObject(Content.Drawings[i].Drawing, 0);
}
if(Content.DocContent)
if(Content.DocContent && Content.DocContent.Elements.length > 0)
{
var shape = this.CreateAndAddShapeFromSelectedContent(Content.DocContent);
this.Slides[this.CurPage].graphicObjects.selectObject(shape, 0);
......
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