[DE] Bug 50113

This commit is contained in:
Julia Radzhabova 2021-04-29 13:40:17 +03:00
parent 559b0292e9
commit 2e1fc1cfa6

View file

@ -698,6 +698,8 @@ define([ 'text!documenteditor/main/app/template/ParagraphSettingsAdvanced.tem
break;
case 3:
me.numSpacing.focus();
var properties = (me._originalProps) ? me._originalProps : new Asc.asc_CParagraphProperty();
me.api.SetDrawImagePlaceParagraph('paragraphadv-font-img', properties);
break;
case 4:
me.numDefaultTab.focus();
@ -892,8 +894,6 @@ define([ 'text!documenteditor/main/app/template/ParagraphSettingsAdvanced.tem
this.numSpacing.setValue((props.get_TextSpacing() !== null && props.get_TextSpacing() !== undefined) ? Common.Utils.Metric.fnRecalcFromMM(props.get_TextSpacing()) : '', true);
this.numPosition.setValue((props.get_Position() !== null && props.get_Position() !== undefined) ? Common.Utils.Metric.fnRecalcFromMM(props.get_Position()) : '', true);
this.api.SetDrawImagePlaceParagraph('paragraphadv-font-img', this._originalProps);
// Tabs
this.numDefaultTab.setValue((props.get_DefaultTab() !== null && props.get_DefaultTab() !== undefined) ? Common.Utils.Metric.fnRecalcFromMM(parseFloat(props.get_DefaultTab().toFixed(1))) : '', true);