[DE][PE] Fix Bug 43242

This commit is contained in:
Julia Radzhabova 2019-10-28 14:01:48 +03:00
parent e9a68a63b9
commit fa3c77d60e
2 changed files with 8 additions and 8 deletions

View file

@ -124,9 +124,9 @@ define([ 'text!documenteditor/main/app/template/ParagraphSettingsAdvanced.tem
}
this._arrTabAlign = [
{ value: 1, displayValue: this.textTabLeft },
{ value: 3, displayValue: this.textTabCenter },
{ value: 2, displayValue: this.textTabRight }
{ value: Asc.c_oAscTabType.Left, displayValue: this.textTabLeft },
{ value: Asc.c_oAscTabType.Center, displayValue: this.textTabCenter },
{ value: Asc.c_oAscTabType.Right, displayValue: this.textTabRight }
];
this._arrKeyTabAlign = [];
this._arrTabAlign.forEach(function(item) {
@ -577,7 +577,7 @@ define([ 'text!documenteditor/main/app/template/ParagraphSettingsAdvanced.tem
cls : 'input-group-nr',
data : this._arrTabAlign
});
this.cmbAlign.setValue(1);
this.cmbAlign.setValue(Asc.c_oAscTabType.Left);
this.cmbLeader = new Common.UI.ComboBox({
el : $('#paraadv-cmb-leader'),

View file

@ -104,9 +104,9 @@ define([ 'text!presentationeditor/main/app/template/ParagraphSettingsAdvanced
];
this._arrTabAlign = [
{ value: 1, displayValue: this.textTabLeft },
{ value: 3, displayValue: this.textTabCenter },
{ value: 2, displayValue: this.textTabRight }
{ value: Asc.c_oAscTabType.Left, displayValue: this.textTabLeft },
{ value: Asc.c_oAscTabType.Center, displayValue: this.textTabCenter },
{ value: Asc.c_oAscTabType.Right, displayValue: this.textTabRight }
];
this._arrKeyTabAlign = [];
this._arrTabAlign.forEach(function(item) {
@ -378,7 +378,7 @@ define([ 'text!presentationeditor/main/app/template/ParagraphSettingsAdvanced
cls : 'input-group-nr',
data : this._arrTabAlign
});
this.cmbAlign.setValue(1);
this.cmbAlign.setValue(Asc.c_oAscTabType.Left);
this.btnAddTab = new Common.UI.Button({
el: $('#paraadv-button-add-tab')