Commit 79ea39b2 authored by Julia Radzhabova's avatar Julia Radzhabova

Merge remote-tracking branch 'origin/develop' into develop

parents 8e120512 a6bf1f57
...@@ -483,7 +483,7 @@ define([ ...@@ -483,7 +483,7 @@ define([
$target = $(e.currentTarget), $target = $(e.currentTarget),
value = $target.val(), value = $target.val(),
properties = new Asc.CTableProp(), properties = new Asc.CTableProp(),
margins = new Asc.asc_CPaddings(); margins = new Asc.CMargins();
$('#table-options-margins .item-after').text(value + ' ' + _metricText); $('#table-options-margins .item-after').text(value + ' ' + _metricText);
...@@ -493,8 +493,9 @@ define([ ...@@ -493,8 +493,9 @@ define([
margins.put_Right(value); margins.put_Right(value);
margins.put_Bottom(value); margins.put_Bottom(value);
margins.put_Left(value); margins.put_Left(value);
margins.put_Flag(2);
properties.put_DefaultMargins(margins); properties.put_CellMargins(margins);
me.api.tblApply(properties); me.api.tblApply(properties);
}, },
......
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