Commit 82074258 authored by Ilya Kirillov's avatar Ilya Kirillov

Fix bug# 32519 Исправлен баг с отображением границ ячеек таблиц в интерфейсе.

parent 064dfa40
......@@ -528,20 +528,7 @@ CTable.prototype =
Pr.CellsWidth = -CellW.W;
var Spacing = this.Content[0].Get_CellSpacing();
if ( null === Spacing )
{
Pr.CellBorders =
{
Left : CellBorders.Left.Copy(),
Right : CellBorders.Right.Copy(),
Top : CellBorders.Top.Copy(),
Bottom : CellBorders.Bottom.Copy(),
InsideH : null,
InsideV : null
};
}
else
{
var Border_left = null;
var Border_right = null;
var Border_top = null;
......@@ -629,7 +616,7 @@ CTable.prototype =
}
else
{
if ( 0 != bFirstRow )
if ( 0 != CurRow )
{
if ( null === Border_insideH )
Border_insideH = Cell_borders.Top;
......@@ -659,7 +646,6 @@ CTable.prototype =
InsideV : null === Border_insideV ? null : Border_insideV.Copy()
};
}
}
switch(Pr.CellsVAlign)
{
......
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