Commit b42c3227 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

http://bugzserver/show_bug.cgi?id=25806 - Ошибка в консоли при вырезании...

http://bugzserver/show_bug.cgi?id=25806 -  Ошибка в консоли при вырезании автофигуры, привязанной к параграфу с комментарием

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57591 954022d7-b5bf-4e40-9824-e11837661b57
parent 488c945e
...@@ -1565,6 +1565,9 @@ CopyProcessor.prototype = ...@@ -1565,6 +1565,9 @@ CopyProcessor.prototype =
for(var k = 0; k < paragraph.Content.length;k++) for(var k = 0; k < paragraph.Content.length;k++)
{ {
content = paragraph.Content[k].Content; content = paragraph.Content[k].Content;
if(!content)
continue;
for(var n = 0; n < content.length; n++) for(var n = 0; n < content.length; n++)
{ {
if(content[n] == cur_element) if(content[n] == cur_element)
......
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