kopia lustrzana https://github.com/c9/core
Merge pull request +10932 from c9/fix/panel
don't crash when there is not a next panelpull/227/head
commit
e5ed5e3279
|
@ -585,11 +585,12 @@ define(function(require, module, exports) {
|
||||||
next = next.selectNodes("tab|hsplitbox|vsplitbox")[op]();
|
next = next.selectNodes("tab|hsplitbox|vsplitbox")[op]();
|
||||||
}
|
}
|
||||||
|
|
||||||
// move all pages to another pane
|
if (next) {
|
||||||
getTabs().forEach(function(tab) {
|
// move all pages to another pane if there is one
|
||||||
tab.attachTo(next.cloud9pane, null, true);
|
getTabs().forEach(function(tab) {
|
||||||
});
|
tab.attachTo(next.cloud9pane, null, true);
|
||||||
|
});
|
||||||
|
}
|
||||||
// destroy aml element
|
// destroy aml element
|
||||||
amlPane.destroy(true, true);
|
amlPane.destroy(true, true);
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue