зеркало из https://github.com/mozilla/pjs.git
165955 - turning on satchel in phoenix
This commit is contained in:
Родитель
ba09ccfd14
Коммит
d93d9f75ee
|
@ -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);
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче