[Pkg-mozext-commits] [firebug] 08/28: Issue 5676: Code completion suggestion popup misbehaves after switching from command line to command editor

David Prévot taffit at moszumanska.debian.org
Mon Mar 31 22:46:24 UTC 2014


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

taffit pushed a commit to tag firebug-1.10.3
in repository firebug.

commit 6921597dcca9234fbbf6e37a45bbab405c0af9e3
Author: Simon Lindholm <simon.lindholm10 at gmail.com>
Date:   Fri Aug 10 17:40:14 2012 +0200

    Issue 5676: Code completion suggestion popup misbehaves after switching from command line to command editor
    
    http://code.google.com/p/fbug/issues/detail?id=5676
---
 extension/content/firebug/console/commandLine.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/extension/content/firebug/console/commandLine.js b/extension/content/firebug/console/commandLine.js
index 5e6c630..51da7fb 100644
--- a/extension/content/firebug/console/commandLine.js
+++ b/extension/content/firebug/console/commandLine.js
@@ -886,7 +886,8 @@ Firebug.CommandLine = Obj.extend(Firebug.Module,
     {
         var context = Firebug.currentContext;
 
-        if (!this.commandHistory.isShown())
+        var commandEditorOpen = (Firebug.commandEditor && context.panelName == "console");
+        if (!this.commandHistory.isShown() && !commandEditorOpen)
         {
             this.autoCompleter.complete(context);
         }

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