Merge pull request #911 from ONLYOFFICE/fix/bug-50671
[DE] Fix Bug 50671
This commit is contained in:
commit
f8fc1fdbf8
|
@ -152,7 +152,7 @@ define([ 'text!documenteditor/main/app/template/TableSettingsAdvanced.templat
|
|||
this.cmbUnit.setDisabled(!value);
|
||||
if (this._changedProps) {
|
||||
if (value && this.nfWidth.getNumberValue()>0)
|
||||
this._changedProps.put_Width(this.cmbUnit.getValue() ? -field.getNumberValue() : Common.Utils.Metric.fnRecalcToMM(this.nfWidth.getNumberValue()));
|
||||
this._changedProps.put_Width(this.cmbUnit.getValue() ? -this.nfWidth.getNumberValue() : Common.Utils.Metric.fnRecalcToMM(this.nfWidth.getNumberValue()));
|
||||
else
|
||||
this._changedProps.put_Width(null);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue