Commit 202fc9d6 authored by Ilya Kirillov's avatar Ilya Kirillov

Fix bug #32549 Исправлен баг с получением ширины выделенных ячеек в таблице.

parent e0a60e21
...@@ -331,8 +331,18 @@ CTable.prototype = ...@@ -331,8 +331,18 @@ CTable.prototype =
} }
else else
{ {
var _CellWidth;
if (tblwidth_Auto === Cell_w.Type)
_CellWidth = null;
else if (tblwidth_Mm === Cell_w.Type)
_CellWidth = Cell_w.W;
else// if (tblwidth_Pct === Cell_w.Type)
_CellWidth = -Cell_w.W;
if ((tblwidth_Auto === Cell_w.Type && null !== CellWidth) if ((tblwidth_Auto === Cell_w.Type && null !== CellWidth)
|| (undefined === CellWidth || null === CellWidth || Math.abs(CellWidth - Cell_w.W) > 0.001)) || (undefined === CellWidth
|| null === CellWidth
|| Math.abs(CellWidth - _CellWidth) > 0.001))
CellWidth = undefined; CellWidth = undefined;
} }
......
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