[Pkg-mozext-commits] [firebug] 03/24: Temporary fix for issue 5577 (Right-clicking inline styles shows the element's context menu)

David Prévot taffit at moszumanska.debian.org
Mon Mar 31 22:46:31 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 29a997af05e3992b54c216566bab3104da1288ae
Author: Simon Lindholm <simon.lindholm10 at gmail.com>
Date:   Wed Aug 22 01:13:00 2012 +0200

    Temporary fix for issue 5577 (Right-clicking inline styles shows the element's context menu)
    
    http://code.google.com/p/fbug/issues/detail?id=5577
---
 extension/content/firebug/chrome/reps.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/extension/content/firebug/chrome/reps.js b/extension/content/firebug/chrome/reps.js
index 02d8dc3..bb62e61 100644
--- a/extension/content/firebug/chrome/reps.js
+++ b/extension/content/firebug/chrome/reps.js
@@ -1109,6 +1109,10 @@ FirebugReps.Element = domplate(Firebug.Rep,
 
     getContextMenuItems: function(elt, target, context)
     {
+        // XXX: Temporary fix for issue 5577.
+        if (Dom.getAncestorByClass(target, "cssElementRuleContainer"))
+            return;
+
         var type;
         var monitored = EventMonitor.areEventsMonitored(elt, null, context);
         var items = [];

-- 
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