diff options
author | Kris Maglione <maglione.k@gmail.com> | 2010-12-25 13:37:26 -0500 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2010-12-25 13:37:26 -0500 |
commit | 7e712dae0f2fdc3a91d4193ca860cb9701007eb5 (patch) | |
tree | 35e68d72ebb9d9d0f4a9f21fa97ee7680250a0c1 /common/content/commandline.js | |
parent | 273796d321e4763859e39bc790c710e303822b90 (diff) | |
download | pentadactyl-7e712dae0f2fdc3a91d4193ca860cb9701007eb5.tar.gz |
Fix some key handling bugs. Closes issue #210.
Diffstat (limited to 'common/content/commandline.js')
-rw-r--r-- | common/content/commandline.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/content/commandline.js b/common/content/commandline.js index 739cda81..0e2a9fa8 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -470,6 +470,7 @@ const CommandLine = Module("commandline", { this.widgets.message = null; modes.push(modes.COMMAND_LINE, this.currentExtendedMode, { + onEvent: this.closure.onEvent, leave: function (params) { if (params.pop) commandline.leave(); @@ -746,6 +747,7 @@ const CommandLine = Module("commandline", { modes.push(modes.COMMAND_LINE, modes.PROMPT | extra.extended, update(Object.create(extra), { + onEvent: extra.onEvent || this.closure.onEvent, leave: function leave(stack) { commandline.leave(stack); leave.supercall(this, stack); |