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

поправлен Bug #31862 ([Copy&Paste] JS ошибка после вставки ячеек с merge из CSE)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68737 954022d7-b5bf-4e40-9824-e11837661b57
parent a3eb1ce7
......@@ -7313,7 +7313,7 @@ PasteProcessor.prototype =
for(var i = 0, length = node.childNodes.length; i < length; ++i)
{
var tr = node.childNodes[i];
if("tr" == tr.nodeName.toLowerCase())
if("tr" == tr.nodeName.toLowerCase() && tr.children.length !== 0)//в случае, если внутри строки нет ни одной ячейки, не добавляем данную строку
{
var row = table.Internal_Add_Row(table.Content.length, 0);
this._ExecuteTableRowPresentation(tr, row, aSumGrid, spacing, oRowSpans, bUseScaleKoef, dScaleKoef, arrShapes, arrImages, arrTables);
......
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