[Pkg-mozext-commits] [firebug] 18/59: fbSearchBar is collapsed when a panel is not enabled.
David Prévot
taffit at moszumanska.debian.org
Thu Aug 14 14:52:54 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository firebug.
commit 0808a31cf93a30d4631da116e0420ad50e6bc92e
Author: Michael Caputo <therubikscubekid at gmail.com>
Date: Sun Jul 27 16:16:13 2014 -0400
fbSearchBar is collapsed when a panel is not enabled.
---
extension/content/firebug/chrome/panelActivation.js | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/extension/content/firebug/chrome/panelActivation.js b/extension/content/firebug/chrome/panelActivation.js
index afc946e..19de713 100644
--- a/extension/content/firebug/chrome/panelActivation.js
+++ b/extension/content/firebug/chrome/panelActivation.js
@@ -78,6 +78,12 @@ Firebug.PanelActivation = Obj.extend(Module,
// Panel toolbar is not displayed for disabled panels. Also make sure to collapse
// the 'fbToolbox', so there is no line below the panel tab.
Dom.collapse(Firebug.chrome.$("fbToolbox"), !panel);
+
+ // Search box is not displayed for disabled panels.
+ var searchBox = Firebug.chrome.$("fbSearchBox");
+ searchBox.collapsed = !panel;
+
+
},
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git
More information about the Pkg-mozext-commits
mailing list