From fa3c77d60e96917a74629f64395eb76591ceda48 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 28 Oct 2019 14:01:48 +0300 Subject: [PATCH] [DE][PE] Fix Bug 43242 --- .../main/app/view/ParagraphSettingsAdvanced.js | 8 ++++---- .../main/app/view/ParagraphSettingsAdvanced.js | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js b/apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js index bfc4f6191..dca3e6e7d 100644 --- a/apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js +++ b/apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js @@ -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'), diff --git a/apps/presentationeditor/main/app/view/ParagraphSettingsAdvanced.js b/apps/presentationeditor/main/app/view/ParagraphSettingsAdvanced.js index 9f6924427..67a59a72a 100644 --- a/apps/presentationeditor/main/app/view/ParagraphSettingsAdvanced.js +++ b/apps/presentationeditor/main/app/view/ParagraphSettingsAdvanced.js @@ -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')