Commit 36d2f169 authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #33045

parent af86c5a0
...@@ -2241,12 +2241,24 @@ DrawingObjectsController.prototype = ...@@ -2241,12 +2241,24 @@ DrawingObjectsController.prototype =
} }
} }
return result_pr; return result_pr;
} };
if(this.selection.groupSelection) if(this.selection.groupSelection)
{ {
result = getPropsFromArr(this.selection.groupSelection.selectedObjects); result = getPropsFromArr(this.selection.groupSelection.selectedObjects);
} }
else if (this.selectedObjects
&& 1 === this.selectedObjects.length
&& this.selectedObjects[0].getObjectType() === AscDFH.historyitem_type_ImageShape
&& this.selectedObjects[0].parent
&& this.selectedObjects[0].parent.Parent
&& this.selectedObjects[0].parent.Parent.Get_Paragraph_TextPr)
{
var oParaDrawing = this.selectedObjects[0].parent;
var oParagraph = oParaDrawing.Parent;
oParagraph.Cursor_MoveTo_Drawing(oParaDrawing.Get_Id(), true);
result = oParagraph.Get_Paragraph_TextPr();
}
else else
{ {
result = getPropsFromArr(this.selectedObjects); result = getPropsFromArr(this.selectedObjects);
......
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