[Pkg-mozext-commits] [firebug] 34/48: Fixed NPE (related to issue 7305)

David Prévot taffit at moszumanska.debian.org
Tue Jun 3 01:47:45 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 bf0fa01cd48e537c7f5e3fc4d69464e018e6c3ab
Author: Sebastian Zartner <sebastianzartner at gmail.com>
Date:   Wed May 28 23:37:26 2014 +0200

    Fixed NPE (related to issue 7305)
---
 extension/content/firebug/debugger/script/scriptPanel.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/extension/content/firebug/debugger/script/scriptPanel.js b/extension/content/firebug/debugger/script/scriptPanel.js
index 8455255..26c53d1 100644
--- a/extension/content/firebug/debugger/script/scriptPanel.js
+++ b/extension/content/firebug/debugger/script/scriptPanel.js
@@ -550,7 +550,8 @@ ScriptPanel.prototype = Obj.extend(BasePanel,
         if (sourceLink instanceof SourceLink)
             this.showSource(sourceLink);
 
-        this.setPrettyPrintState();
+        if (object)
+            this.setPrettyPrintState();
 
         Events.dispatch(this.fbListeners, "onUpdateScriptLocation", [this, sourceLink]);
     },

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