[PE mobile] Fix bug 34155
This commit is contained in:
parent
f4d6e30a0d
commit
b2199037b6
|
|
@ -342,7 +342,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);
|
||||||
|
|
||||||
|
|
@ -352,8 +352,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);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue