[SSE] Fix Bug 45276

This commit is contained in:
Julia Radzhabova 2020-04-23 19:02:54 +03:00
parent 8b5cd96bce
commit b9c32cdfcb
2 changed files with 1 additions and 32 deletions

View file

@ -2044,7 +2044,7 @@ define([
name = menuItem.asc_getName(true),
origname = me.api.asc_getFormulaNameByLocale(name),
mnu = new Common.UI.MenuItem({
iconCls: (type==Asc.c_oAscPopUpSelectorType.Func) ? 'mnu-popup-func': ((type==Asc.c_oAscPopUpSelectorType.Table) ? 'mnu-popup-table' : 'mnu-popup-range') ,
iconCls: 'menu__icon ' + ((type==Asc.c_oAscPopUpSelectorType.Func) ? 'btn-function': ((type==Asc.c_oAscPopUpSelectorType.Table) ? 'btn-menu-table' : 'btn-named-range')) ,
caption: name,
hint : (funcdesc && funcdesc[origname]) ? funcdesc[origname].d : ''
}).on('click', function(item, e) {

View file

@ -90,35 +90,4 @@
}
}
#menu-formula-selection {
.dropdown-menu li {
.menu-item-icon {
.background-ximage('@{app-image-path}/toolbar-menu.png', '@{app-image-path}/toolbar-menu@2x.png', 20px) !important;
&.mnu-popup-range {
background-position: 0 -1560px;
}
&.mnu-popup-table {
background-position: 0 -1580px;
}
&.mnu-popup-func {
background-position: 0 -1300px;
}
}
&.selected {
.mnu-popup-range {
background-position: -20px -1560px;
}
.mnu-popup-table {
background-position: -20px -1580px;
}
.mnu-popup-func {
background-position: -20px -1300px;
}
}
}
}