Merge pull request #371 from ONLYOFFICE/feature/for-hotfix-5.5.1

[SSE] Fix validation list
This commit is contained in:
Alexander Trofimov 2020-03-30 17:09:10 +03:00 committed by GitHub
commit 40d640bfa6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 );
});