From b9c32cdfcb1f22cbc92c4600c10b7fab19a49e2b Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 23 Apr 2020 19:02:54 +0300 Subject: [PATCH] [SSE] Fix Bug 45276 --- .../main/app/controller/DocumentHolder.js | 2 +- .../resources/less/advanced-settings.less | 31 ------------------- 2 files changed, 1 insertion(+), 32 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js index 40168960c..a16b57a5a 100644 --- a/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js +++ b/apps/spreadsheeteditor/main/app/controller/DocumentHolder.js @@ -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) { diff --git a/apps/spreadsheeteditor/main/resources/less/advanced-settings.less b/apps/spreadsheeteditor/main/resources/less/advanced-settings.less index 4b53ba3b4..d7a69c082 100644 --- a/apps/spreadsheeteditor/main/resources/less/advanced-settings.less +++ b/apps/spreadsheeteditor/main/resources/less/advanced-settings.less @@ -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; - } - } - } -} - -