amlPane.destroy must be called for last pane too

pull/227/head
nightwing 2015-12-09 20:18:35 +04:00
rodzic 33e8b0ca57
commit b209b31c6d
1 zmienionych plików z 22 dodań i 23 usunięć

Wyświetl plik

@ -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%");