From 77b477fe2179d4748bc60798af7a975e266e7f89 Mon Sep 17 00:00:00 2001 From: Victor Porof Date: Tue, 20 Nov 2012 13:38:45 +0200 Subject: [PATCH] Bug 813199 - Closing a tab with a conditional breakpoint panel open does not hide the panel, r=past --- browser/devtools/debugger/debugger-panes.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/browser/devtools/debugger/debugger-panes.js b/browser/devtools/debugger/debugger-panes.js index 7947e2b482e..d9a4b2d21c1 100644 --- a/browser/devtools/debugger/debugger-panes.js +++ b/browser/devtools/debugger/debugger-panes.js @@ -204,6 +204,8 @@ create({ constructor: BreakpointsView, proto: MenuContainer.prototype }, { this._cbPanel.removeEventListener("popupshown", this._onConditionalPopupShown, false); this._cbPanel.removeEventListener("popuphiding", this._onConditionalPopupHiding, false) this._cbTextbox.removeEventListener("keypress", this._onConditionalTextboxKeyPress, false); + + this._cbPanel.hidePopup(); }, /**