[Pkg-mozext-commits] [firebug] 24/35: Make sure the CSS panel is selected when updating its toolbar (related to issue 6931)
David Prévot
taffit at moszumanska.debian.org
Sat May 24 14:54:28 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 cb958b3df8f77b32c0ae61d7a25f608bb0cbcb9c
Author: Jan Odvarko <odvarko at gmail.com>
Date: Thu May 22 15:32:50 2014 +0200
Make sure the CSS panel is selected when updating its toolbar (related to issue 6931)
---
extension/content/firebug/css/cssPanel.js | 3 +++
1 file changed, 3 insertions(+)
diff --git a/extension/content/firebug/css/cssPanel.js b/extension/content/firebug/css/cssPanel.js
index d432367..6784d40 100644
--- a/extension/content/firebug/css/cssPanel.js
+++ b/extension/content/firebug/css/cssPanel.js
@@ -219,6 +219,9 @@ Firebug.CSSStyleSheetPanel.prototype = Obj.extend(Panel,
onCSSInsertRule: function(styleSheet, cssText, ruleIndex)
{
+ if (!this.isSelected())
+ return;
+
// Make sure toolbar buttons and location list are properly updated
// if a new stylesheet has been just appended (see also issue 6931).
this.showToolbarButtons("fbCSSButtons", true);
--
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