From b85cd8c195d403b0010d99eaee7ed383474048e8 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 2 Apr 2021 12:28:07 +0300 Subject: [PATCH] [DE] Fix change level list --- apps/documenteditor/main/app/view/Toolbar.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/documenteditor/main/app/view/Toolbar.js b/apps/documenteditor/main/app/view/Toolbar.js index 06544cbde..82d20d183 100644 --- a/apps/documenteditor/main/app/view/Toolbar.js +++ b/apps/documenteditor/main/app/view/Toolbar.js @@ -1709,6 +1709,7 @@ define([ this.mnuMarkerChangeLevel = new Common.UI.MenuItem({ caption: this.textChangeLevel, style: 'padding-right:20px;', + disabled: (this.mnuMarkersPicker.conf.index || 0)==0, menu: new Common.UI.Menu({ cls: 'list-settings-level', menuAlign: 'tl-tr', @@ -1738,6 +1739,7 @@ define([ this.mnuNumberChangeLevel = new Common.UI.MenuItem({ caption: this.textChangeLevel, style: 'padding-right:20px;', + disabled: (this.mnuNumbersPicker.conf.index || 0)==0, menu: new Common.UI.Menu({ cls: 'list-settings-level', menuAlign: 'tl-tr',