kopia lustrzana https://github.com/c9/core
fix dropdown in dialog
rodzic
4fd895ff4e
commit
74fc98e7b7
|
@ -228,9 +228,9 @@ define(function(require, module, exports) {
|
||||||
}
|
}
|
||||||
|
|
||||||
var el = plugin.getElement(item.id);
|
var el = plugin.getElement(item.id);
|
||||||
switch(el.type) {
|
switch (el.type || el.tagName) {
|
||||||
case "dropdown":
|
case "dropdown":
|
||||||
var dropdown = el.lastChild;
|
var dropdown = el;
|
||||||
|
|
||||||
var data = item.items.map(function(item) {
|
var data = item.items.map(function(item) {
|
||||||
return "<item value='" + item.value
|
return "<item value='" + item.value
|
||||||
|
@ -247,12 +247,12 @@ define(function(require, module, exports) {
|
||||||
if ("onclick" in item)
|
if ("onclick" in item)
|
||||||
el.onclick = item.onclick;
|
el.onclick = item.onclick;
|
||||||
if ("visible" in item)
|
if ("visible" in item)
|
||||||
el.setAttribute("visible", item.visible)
|
el.setAttribute("visible", item.visible);
|
||||||
if ("zindex" in item)
|
if ("zindex" in item)
|
||||||
el.setAttribute("zindex", item.zindex)
|
el.setAttribute("zindex", item.zindex);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// @todo this looks very similar to forms.js. Perhaps able to merge?
|
// @todo this looks very similar to forms.js. Perhaps able to merge?
|
||||||
|
|
|
@ -29363,7 +29363,7 @@ apf.aml.setElement("colorbox", apf.colorbox);
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
apf.WinServer = {
|
apf.WinServer = {
|
||||||
count: 900000,
|
count: 150000,
|
||||||
wins: [],
|
wins: [],
|
||||||
|
|
||||||
setTop: function(win, norecur) {
|
setTop: function(win, norecur) {
|
||||||
|
|
Ładowanie…
Reference in New Issue