165955 - turning on satchel in phoenix

This commit is contained in:
hewitt%netscape.com 2007-08-22 04:58:51 +00:00
Родитель ba09ccfd14
Коммит d93d9f75ee
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -97,7 +97,7 @@
</xul:tabs> </xul:tabs>
</xul:hbox> </xul:hbox>
<xul:tabpanels flex="1" class="plain"> <xul:tabpanels flex="1" class="plain">
<xul:browser type="content-primary" xbl:inherits="tooltip=contenttooltip,contextmenu=contentcontextmenu"/> <xul:browser type="content-primary" xbl:inherits="tooltip=contenttooltip,contextmenu=contentcontextmenu,autocompletepopup"/>
</xul:tabpanels> </xul:tabpanels>
</xul:tabbox> </xul:tabbox>
<children/> <children/>
@ -789,6 +789,9 @@
// clean up the before/afterselected attributes before removing the tab // clean up the before/afterselected attributes before removing the tab
oldTab.selected = false; oldTab.selected = false;
// XXX browser's destructor isn't always called, so we force a cleanup ourselves
oldBrowser.destroy();
this.mTabContainer.removeChild(oldTab); this.mTabContainer.removeChild(oldTab);
this.mPanelContainer.removeChild(oldBrowser); this.mPanelContainer.removeChild(oldBrowser);