fix focus issue with forms in a dialog

pull/223/head
nightwing 2015-11-06 01:38:33 +04:00
rodzic 9bb4f1d886
commit d70370f791
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -499,8 +499,8 @@ define(function(require, exports, module) {
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);
if (htmlNode.host) {
htmlNode.host.insertBefore(container, beforeNode && beforeNode.host);
} else {
htmlNode.insertBefore(container.$ext, beforeNode || null);
}