summaryrefslogtreecommitdiff
path: root/common/content/ui.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2008-12-07 16:51:46 -0500
committerKris Maglione <maglione.k@gmail.com>2008-12-07 16:51:46 -0500
commitcbd9a2555d26d2f4751a870b250e9673ed7324f9 (patch)
tree02346817d0fa191dfec0e94eaac82dec7fda95bd /common/content/ui.js
parenta63465f3e5c1d3735d0d02f533310e8ecabb46a2 (diff)
downloadpentadactyl-cbd9a2555d26d2f4751a870b250e9673ed7324f9.tar.gz
Fix /find bugs
Diffstat (limited to 'common/content/ui.js')
-rw-r--r--common/content/ui.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/common/content/ui.js b/common/content/ui.js
index 3f29aa46..c34783f1 100644
--- a/common/content/ui.js
+++ b/common/content/ui.js
@@ -882,6 +882,8 @@ function CommandLine() //{{{
},
set command(cmd) commandWidget.value = cmd,
+ get message() messageBox.value,
+
open: function open(prompt, cmd, extendedMode)
{
// save the current prompts, we need it later if the command widget
@@ -1070,8 +1072,8 @@ function CommandLine() //{{{
if (events.isAcceptKey(key))
{
let mode = currentExtendedMode; // save it here, as modes.pop() resets it
- keepCommand = (mode == modes.EX); // Fixme.
- currentExtendedMode = null; /* Don't let modes.pop trigger "cancel" */
+ keepCommand = true;
+ currentExtendedMode = null; // Don't let modes.pop trigger "cancel"
modes.pop(!this.silent);
return liberator.triggerCallback("submit", mode, command);