From ecc123f628ff7097125b73dd9521908bdd81dd0d Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 20 Aug 2019 13:07:45 +0300 Subject: [PATCH] [DE] For Bug 40580 --- .../documenteditor/main/app/view/ParagraphSettingsAdvanced.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js b/apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js index c07b8bbc4..34435c7e0 100644 --- a/apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js +++ b/apps/documenteditor/main/app/view/ParagraphSettingsAdvanced.js @@ -890,7 +890,7 @@ define([ 'text!documenteditor/main/app/template/ParagraphSettingsAdvanced.tem this.tabList.selectByIndex(0); } - this.cmbOutlinelevel.setValue(props.get_OutlineLvl()!==undefined ? props.get_OutlineLvl() : -1); + this.cmbOutlinelevel.setValue((props.get_OutlineLvl() === undefined || props.get_OutlineLvl()===null) ? -1 : props.get_OutlineLvl()); this._noApply = false; @@ -1428,7 +1428,7 @@ define([ 'text!documenteditor/main/app/template/ParagraphSettingsAdvanced.tem onOutlinelevelSelect: function(combo, record) { if (this._changedProps) { - this._changedProps.put_OutlineLvl(record.value>-1 ? record.value: undefined); + this._changedProps.put_OutlineLvl(record.value>-1 ? record.value: null); } },