[Pkg-mozext-commits] [firebug] 21/30: Fix issue 7551: Set Breakpoint adds undefined as a breakpoint.

David Prévot taffit at moszumanska.debian.org
Fri Jun 20 22:34:25 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 e6d45642a689109b09c0e578e54ae38d0f2ba390
Author: Farshid Beheshti <farshid.beheshti at gmail.com>
Date:   Thu Jun 19 11:27:31 2014 +0430

    Fix issue 7551: Set Breakpoint adds undefined as a breakpoint.
---
 extension/content/firebug/debugger/script/scriptPanel.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extension/content/firebug/debugger/script/scriptPanel.js b/extension/content/firebug/debugger/script/scriptPanel.js
index e6c61ef..1643cf5 100644
--- a/extension/content/firebug/debugger/script/scriptPanel.js
+++ b/extension/content/firebug/debugger/script/scriptPanel.js
@@ -1309,7 +1309,7 @@ ScriptPanel.prototype = Obj.extend(BasePanel,
 
         // The target provided by {@link FirebugChrome} is wrong, we need to use the
         // one from {@link SourceEditor}. See {@link SourceEditor.onInit} for more details.
-        target = info.target;
+        target = info.currentTarget;
 
         var lineNo = this.scriptView.getLineIndex(target);
         var text = this.scriptView.getSelectedText();

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