Commit b4a31691 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

update PopUpSelector

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55596 954022d7-b5bf-4e40-9824-e11837661b57
parent fb3ec5ad
......@@ -135,22 +135,22 @@
height: 11pt;
}
/*#apiPopUpSelector {
z-index: 3000;
#apiPopUpSelector {
/*z-index: 3000;
height: auto;
background-color: #FFF;
border: 1px solid Grey;
border: 1px solid Grey;*/
position: absolute;
cursor: default;
font-size: 12px;
padding: 4px;
display: none;
/* cursor: default;
font-size: 12px;
padding: 4px;*/
}
#apiPopUpList {
margin: 0 10px 0 0;
padding: 0;
list-style: none;
}*/
display: block;
max-height: 210px;
overflow: hidden;
}
#apiPopUpList li {
max-width: 500px;
/*text-overflow: ellipsis;
......
......@@ -42,8 +42,7 @@
this.selector = document.createElement("div");
this.selectorStyle = this.selector.style;
this.selector.id = "apiPopUpSelector";
this.selector.className = "dropdown-menu"; // Необходимо для меню
this.selector.innerHTML = '<div style="max-height:210px;overflow-y:auto"><ul id="apiPopUpList"></ul></div>';
this.selector.innerHTML = '<div style="max-height:210px;" class="combobox"><ul id="apiPopUpList" class="dropdown-menu"></ul></div>';
this.element.appendChild(this.selector);
this.selectorList = document.getElementById("apiPopUpList");
......
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