[Pkg-mozext-commits] [firebug] 21/59: Issue 7596: Command line is broken on Nightly

David Prévot taffit at moszumanska.debian.org
Thu Aug 14 14:52:54 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 ac987688e577efe83aa5120d7db589da746cca13
Author: Simon Lindholm <simon.lindholm10 at gmail.com>
Date:   Wed Jul 16 12:40:17 2014 +0200

    Issue 7596: Command line is broken on Nightly
    
    https://code.google.com/p/fbug/issues/detail?id=7596
---
 extension/content/firebug/console/commandLine.js | 21 ++++++++-------------
 1 file changed, 8 insertions(+), 13 deletions(-)

diff --git a/extension/content/firebug/console/commandLine.js b/extension/content/firebug/console/commandLine.js
index 8c2e975..06c1eab 100644
--- a/extension/content/firebug/console/commandLine.js
+++ b/extension/content/firebug/console/commandLine.js
@@ -516,15 +516,20 @@ var CommandLine = Obj.extend(Module,
     // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
     // extends Module
 
-    initialize: function()
+    initializeUI: function()
     {
-        Module.initialize.apply(this, arguments);
-
         this.setAutoCompleter();
         this.commandHistory = new Firebug.CommandHistory();
 
         if (Options.get("commandEditor"))
             this.setMultiLine(true, Firebug.chrome);
+
+        this.onCommandLineInput = Obj.bind(this.onCommandLineInput, this);
+        this.onCommandLineKeyUp = Obj.bind(this.onCommandLineKeyUp, this);
+        this.onCommandLineKeyDown = Obj.bind(this.onCommandLineKeyDown, this);
+        this.onCommandLineKeyPress = Obj.bind(this.onCommandLineKeyPress, this);
+        this.onCommandLinePaste = Obj.bind(this.onCommandLinePaste, this);
+        this.attachListeners();
     },
 
     // (Re)create the auto-completer for the small command line.
@@ -548,16 +553,6 @@ var CommandLine = Obj.extend(Module,
         this.autoCompleter = new Firebug.JSAutoCompleter(commandLine, completionBox, options);
     },
 
-    initializeUI: function()
-    {
-        this.onCommandLineInput = Obj.bind(this.onCommandLineInput, this);
-        this.onCommandLineKeyUp = Obj.bind(this.onCommandLineKeyUp, this);
-        this.onCommandLineKeyDown = Obj.bind(this.onCommandLineKeyDown, this);
-        this.onCommandLineKeyPress = Obj.bind(this.onCommandLineKeyPress, this);
-        this.onCommandLinePaste = Obj.bind(this.onCommandLinePaste, this);
-        this.attachListeners();
-    },
-
     attachListeners: function()
     {
         var commandLine = this.getSingleRowCommandLine();

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