[Pkg-mozext-commits] [firebug] 02/09: Fix Events panel breakage

David Prévot taffit at moszumanska.debian.org
Wed Jun 3 21:52:23 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository firebug.

commit 83b9562b35f47ea6439eb17c4582db8f0c0c26b5
Author: Simon Lindholm <simon.lindholm10 at gmail.com>
Date:   Fri May 22 16:29:42 2015 +0200

    Fix Events panel breakage
---
 extension/content/firebug/html/eventsPanel.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extension/content/firebug/html/eventsPanel.js b/extension/content/firebug/html/eventsPanel.js
index de2ae82..2ad1c55 100644
--- a/extension/content/firebug/html/eventsPanel.js
+++ b/extension/content/firebug/html/eventsPanel.js
@@ -406,7 +406,7 @@ EventsPanel.prototype = Obj.extend(Firebug.Panel,
     getListeners: function(target)
     {
         var normal = this.getNormalEventListeners(target);
-        var disabled = this.getDisabledMap(this.context).get(target, []);
+        var disabled = this.getDisabledMap(this.context).get(target) || [];
 
         // Try to insert the disabled listeners at their previous positions. This will be
         // wrong in case listeners have been removed since those positions were recorded,

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