kopia lustrzana https://github.com/c9/core
fix form.attachTo breaking apf parentNode
rodzic
d314dcef04
commit
50550acb3b
|
@ -477,8 +477,12 @@ define(function(require, exports, module) {
|
|||
container.parentNode = htmlNode;
|
||||
htmlNode = htmlNode.$int;
|
||||
}
|
||||
|
||||
// if we have apf node, make sure apf child-parent links do not get broken
|
||||
if (htmlNode.host && container.host) {
|
||||
htmlNode.host.insertBefore(container.host, beforeNode && beforeNode.host);
|
||||
} else {
|
||||
htmlNode.insertBefore(container.$ext, beforeNode || null);
|
||||
}
|
||||
show();
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue