1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 00:17:58 +01:00

Merge default.

--HG--
branch : bootstrapped
This commit is contained in:
Kris Maglione
2010-12-25 13:46:58 -05:00
2 changed files with 4 additions and 6 deletions

View File

@@ -551,6 +551,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();
@@ -829,6 +830,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);