[Pkg-mozext-commits] [firebug] 29/48: Missing condition (related to issue 7485)

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 1a7b2591bafb41ca0027bd62cce6173ac92bf092
Author: Jan Odvarko <odvarko at gmail.com>
Date:   Thu May 29 13:06:51 2014 +0200

    Missing condition (related to issue 7485)
---
 extension/content/firebug/debugger/script/scriptPanel.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/extension/content/firebug/debugger/script/scriptPanel.js b/extension/content/firebug/debugger/script/scriptPanel.js
index 838d6fb..1f4788c 100644
--- a/extension/content/firebug/debugger/script/scriptPanel.js
+++ b/extension/content/firebug/debugger/script/scriptPanel.js
@@ -1751,6 +1751,9 @@ ScriptPanel.prototype = Obj.extend(BasePanel,
             return;
 
         var text = this.getExpressionUnderCursor(x, y, rangeParent, rangeOffset);
+        if (!text)
+            return false;
+
         if (text == this.infoTipExpr)
             return true;
         else

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