From 5d1db51a44c0ed2349db144afd0a6daa4421c459 Mon Sep 17 00:00:00 2001 From: Alexander Yuzhin Date: Mon, 30 Jan 2017 11:26:57 +0300 Subject: [PATCH] [PE mobile] Fixed for deploy version. --- .../mobile/app/controller/edit/EditTable.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/presentationeditor/mobile/app/controller/edit/EditTable.js b/apps/presentationeditor/mobile/app/controller/edit/EditTable.js index 62da26c0e..1c2094c9a 100644 --- a/apps/presentationeditor/mobile/app/controller/edit/EditTable.js +++ b/apps/presentationeditor/mobile/app/controller/edit/EditTable.js @@ -55,7 +55,7 @@ define([ _metricText = Common.Utils.Metric.getCurrentMetricName(), _tableObject = undefined, _tableLook = {}, - _cellBorders = new Asc.CBorders(), + _cellBorders = undefined, _cellBorderColor = '000000', _cellBorderWidth = 0.5; @@ -402,6 +402,8 @@ define([ if (me.api) { var properties = new Asc.CTableProp(); + _cellBorders = _.isUndefined(_cellBorders) ? new Asc.CBorders() : _cellBorders; + properties.put_CellBorders(_cellBorders); properties.put_CellSelect(true);