From b2199037b676fa9865a26d0d8aaa10dea6819b4a Mon Sep 17 00:00:00 2001 From: Alexander Yuzhin Date: Wed, 1 Mar 2017 11:35:09 +0300 Subject: [PATCH] [PE mobile] Fix bug 34155 --- .../mobile/app/controller/edit/EditTable.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/presentationeditor/mobile/app/controller/edit/EditTable.js b/apps/presentationeditor/mobile/app/controller/edit/EditTable.js index 1c2094c9a..f2da51e9f 100644 --- a/apps/presentationeditor/mobile/app/controller/edit/EditTable.js +++ b/apps/presentationeditor/mobile/app/controller/edit/EditTable.js @@ -342,7 +342,7 @@ define([ $target = $(e.currentTarget), value = $target.val(), properties = new Asc.CTableProp(), - margins = new Asc.asc_CPaddings(); + margins = new Asc.CMargins(); $('#table-options-margins .item-after').text(value + ' ' + _metricText); @@ -352,8 +352,9 @@ define([ margins.put_Right(value); margins.put_Bottom(value); margins.put_Left(value); + margins.put_Flag(2); - properties.put_DefaultMargins(margins); + properties.put_CellMargins(margins); me.api.tblApply(properties); },