[SSE] Fix validation list

This commit is contained in:
Julia Radzhabova 2020-03-30 17:03:46 +03:00
parent 9b93ea92b2
commit 887161dc22

View file

@ -1969,7 +1969,8 @@ define([
_.each(textarr, function(menuItem, index) { _.each(textarr, function(menuItem, index) {
var mnu = new Common.UI.MenuItem({ 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) { }).on('click', function(item, e) {
me.api.asc_insertFormula(item.caption, Asc.c_oAscPopUpSelectorType.None, false ); me.api.asc_insertFormula(item.caption, Asc.c_oAscPopUpSelectorType.None, false );
}); });