Merge pull request +9167 from c9/sdk

[Trivial] fix sdk issues
pull/134/merge
Matthijs van Henten 2015-09-07 10:59:32 +02:00
commit 5f40543701
2 zmienionych plików z 8 dodań i 4 usunięć

Wyświetl plik

@ -102,8 +102,8 @@
"c9.ide.recentfiles": "#7c099abf40",
"c9.ide.remote": "#301d2ab519",
"c9.ide.processlist": "#bc11818bb5",
"c9.ide.run": "#1ce4f82ea2",
"c9.ide.run.build": "#4de6a0b9a4",
"c9.ide.run": "#bf6629b60b",
"c9.ide.run.build": "#6afead620c",
"c9.ide.run.debug.xdebug": "#61dcbd0180",
"c9.ide.save": "#326087f5a2",
"c9.ide.scm": "#f3847917b8",

Wyświetl plik

@ -477,8 +477,12 @@ define(function(require, exports, module) {
container.parentNode = htmlNode;
htmlNode = htmlNode.$int;
}
htmlNode.insertBefore(container.$ext, beforeNode || null);
// 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();
}