diff options
author | Kris Maglione <maglione.k@gmail.com> | 2008-12-07 09:01:42 -0500 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2008-12-07 09:01:42 -0500 |
commit | e436212ab89ca0eab2e0bb72b1eaebc6a8ee51ff (patch) | |
tree | d8373adc8ab9355caee9602f054ef83b597300f4 /common/content/ui.js | |
parent | 61ac9e1a694da46473422418fdcc294a2ed28610 (diff) | |
download | pentadactyl-e436212ab89ca0eab2e0bb72b1eaebc6a8ee51ff.tar.gz |
Allow MOW output to stack
Diffstat (limited to 'common/content/ui.js')
-rw-r--r-- | common/content/ui.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/common/content/ui.js b/common/content/ui.js index 22985b20..4c98c383 100644 --- a/common/content/ui.js +++ b/common/content/ui.js @@ -881,6 +881,7 @@ function CommandLine() //{{{ open: function open(prompt, cmd, extendedMode) { + liberator.dump("commandline.open: " + (extendedMode && modes.getMode(extendedMode).name)); // save the current prompts, we need it later if the command widget // receives focus without calling the this.open() method currentPrompt = prompt || ""; @@ -910,6 +911,7 @@ function CommandLine() //{{{ close: function close() { let mode = currentExtendedMode; + liberator.dump("commandline.close: " + (mode && modes.getMode(mode).name)); currentExtendedMode = null; liberator.triggerCallback("cancel", mode); @@ -923,11 +925,13 @@ function CommandLine() //{{{ liberator.focusContent(false); multilineInputWidget.collapsed = true; - outputContainer.collapsed = true; completionList.hide(); if (!keepCommand || this.silent) + { + outputContainer.collapsed = true; this.hide(); + } keepCommand = false; }, |