kopia lustrzana https://github.com/c9/core
amlPane.destroy must be called for last pane too
rodzic
33e8b0ca57
commit
b209b31c6d
|
@ -586,11 +586,11 @@ define(function(require, module, exports) {
|
|||
}
|
||||
|
||||
if (next) {
|
||||
// move all pages to another pane
|
||||
// move all pages to another pane if there is one
|
||||
getTabs().forEach(function(tab) {
|
||||
tab.attachTo(next.cloud9pane, null, true);
|
||||
});
|
||||
|
||||
}
|
||||
// destroy aml element
|
||||
amlPane.destroy(true, true);
|
||||
|
||||
|
@ -613,7 +613,6 @@ define(function(require, module, exports) {
|
|||
else {
|
||||
queue = [parent];
|
||||
}
|
||||
}
|
||||
|
||||
if (last && last.parentNode.localName == "bar") {
|
||||
last.$ext.style.width = "100%";//setAttribute("width", "100%");
|
||||
|
|
Ładowanie…
Reference in New Issue