From 887161dc2297abf31f10fb4c92740898d8cad27a Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 30 Mar 2020 17:03:46 +0300 Subject: [PATCH] [SSE] Fix validation list --- apps/spreadsheeteditor/main/app/controller/DocumentHolder.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js index a523962a0..d635ec0ee 100644 --- a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js +++ b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js @@ -1969,7 +1969,8 @@ define([ _.each(textarr, function(menuItem, index) { var mnu = new Common.UI.MenuItem({ - caption : menuItem + caption : menuItem, + style: (typeof menuItem == 'string' && _.isEmpty(menuItem.trim())) ? 'min-height: 25px;' : '' }).on('click', function(item, e) { me.api.asc_insertFormula(item.caption, Asc.c_oAscPopUpSelectorType.None, false ); });