[Pkg-mozext-commits] [firebug] 04/30: Issue 7493: Condition editor for cookie breakpoit has wrong position.
David Prévot
taffit at moszumanska.debian.org
Fri Jun 20 22:34:23 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 5ea4ec5e657f15510998363ab08e3adcb82f5c60
Author: Farshid Beheshti <farshid.beheshti at gmail.com>
Date: Tue Jun 3 01:14:10 2014 +0430
Issue 7493: Condition editor for cookie breakpoit has wrong position.
---
.../content/firebug/debugger/breakpoints/breakpointConditionEditor.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/extension/content/firebug/debugger/breakpoints/breakpointConditionEditor.js b/extension/content/firebug/debugger/breakpoints/breakpointConditionEditor.js
index 8bb9dc7..64efd38 100644
--- a/extension/content/firebug/debugger/breakpoints/breakpointConditionEditor.js
+++ b/extension/content/firebug/debugger/breakpoints/breakpointConditionEditor.js
@@ -79,6 +79,10 @@ ConditionEditor.prototype = domplate(JSEditor.prototype,
var bottom = offset.y + sourceLine.offsetHeight;
var y = bottom - this.box.offsetHeight;
+
+ if(!panel.scrollTop)
+ panel.scrollTop = 0;
+
if (y < panel.scrollTop)
{
y = offset.y;
--
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