Commit 1c2de297 authored by Alexander.Trofimov's avatar Alexander.Trofimov

Иконку добавляем только для подсказки по функциям

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@65400 954022d7-b5bf-4e40-9824-e11837661b57
parent 4e54af27
......@@ -106,6 +106,7 @@
this.isFormula = isFormula;
var item, isFirst, value, selectElement = null;
var sIcon = this.isFormula ? '<span class="menu-item-icon mnu-popup-func"></span>' : '';
for (var i = 0; i < arrItems.length; ++i) {
item = document.createElement('li');
isFirst = (0 === i);
......@@ -124,7 +125,7 @@
value = arrItems[i];
}
item.innerHTML = '<a><span class="menu-item-icon mnu-popup-func"></span>' + value + '</a>';
item.innerHTML = '<a>' + sIcon + value + '</a>';
item.setAttribute('val', value);
if (item.addEventListener) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment