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

Bug 25716 - Ошибка в консоли при вставке фигуры "textbox"

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57491 954022d7-b5bf-4e40-9824-e11837661b57
parent 98b046ab
...@@ -701,7 +701,11 @@ CShape.prototype.Get_PrevElementEndInfo = function(CurElement) ...@@ -701,7 +701,11 @@ CShape.prototype.Get_PrevElementEndInfo = function(CurElement)
{ {
var para_drawing = this.GetParaDrawing(); var para_drawing = this.GetParaDrawing();
if(isRealObject(para_drawing) && isRealObject(para_drawing.DocumentContent) && (para_drawing.DocumentContent.Get_PrevElementEndInfo) ) if(isRealObject(para_drawing) && isRealObject(para_drawing.DocumentContent) && (para_drawing.DocumentContent.Get_PrevElementEndInfo) )
return para_drawing.DocumentContent.Get_PrevElementEndInfo(para_drawing.Get_ParentParagraph()); {
var parent_paragraph = para_drawing.Get_ParentParagraph();
if(parent_paragraph)
return para_drawing.DocumentContent.Get_PrevElementEndInfo(parent_paragraph);
}
return null; return null;
}; };
CShape.prototype.Is_ThisElementCurrent = function(CurElement) CShape.prototype.Is_ThisElementCurrent = function(CurElement)
......
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