[Pkg-mozext-commits] [firebug] 15/24: Workaround for issue 5744: Radio button deselects when Firebug is open
    David Prévot 
    taffit at moszumanska.debian.org
       
    Mon Mar 31 22:46:32 UTC 2014
    
    
  
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag firebug-1.10.4
in repository firebug.
commit e858db35e0d8c4cfbb5e6bf680444073f43201b3
Author: Simon Lindholm <simon.lindholm10 at gmail.com>
Date:   Mon Oct 8 15:36:54 2012 +0200
    Workaround for issue 5744: Radio button deselects when Firebug is open
    
    http://code.google.com/p/fbug/issues/detail?id=5744
---
 extension/content/firebug/css/stylePanel.js | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/extension/content/firebug/css/stylePanel.js b/extension/content/firebug/css/stylePanel.js
index 21e879c..1177f65 100644
--- a/extension/content/firebug/css/stylePanel.js
+++ b/extension/content/firebug/css/stylePanel.js
@@ -869,6 +869,11 @@ function getFontPropValueParts(element, value, propName)
 
     // Clone the element to just get the fonts used in it and not its descendants
     var clonedElement = element.cloneNode(false);
+
+    // Workaround for issue 5744
+    clonedElement.removeAttribute("name");
+    clonedElement.removeAttribute("id");
+
     clonedElement.textContent = element.textContent;
     Firebug.setIgnored(clonedElement);
     element.parentNode.appendChild(clonedElement);
-- 
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