Bug 982620 - Australis' UITour doesn't hide the menu panel on teardown, causing recreatePopup to break later hideMenu calls, r=MattN

This commit is contained in:
Gijs Kruitbosch 2014-03-15 00:52:15 +01:00
parent 6a7273f4d4
commit a932f1fd32

View File

@ -553,8 +553,8 @@ this.UITour = {
if (!aWindowClosing) {
this.hideHighlight(aWindow);
this.hideInfo(aWindow);
aWindow.PanelUI.panel.removeAttribute("noautohide");
this.recreatePopup(aWindow.PanelUI.panel);
// Ensure the menu panel is hidden before calling recreatePopup so popup events occur.
this.hideMenu(aWindow, "appMenu");
}
this.endUrlbarCapture(aWindow);