1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-11 10:25:45 +01:00

Don't treat <C-c> specially in pass-through mode. Closes issue #160.

--HG--
extra : rebase_source : 95b34d6df9705042fca26aeaf63f51d57131458b
This commit is contained in:
Kris Maglione
2010-12-01 14:29:18 -05:00
parent cb0478ddd6
commit 437cd802eb
2 changed files with 8 additions and 6 deletions

View File

@@ -317,8 +317,6 @@ const Editor = Module("editor", {
}
update(true);
if (textBox)
textBox.removeAttribute("readonly");
}, this);
if (res == false)
@@ -328,9 +326,13 @@ const Editor = Module("editor", {
// Errors are unlikely, and our error messages won't
// likely be any more helpful than that given in the
// exception.
dactyl.echoerr(e);
dactyl.reportError(e, true);
tmpBg = "red";
}
finally {
if (textBox)
textBox.removeAttribute("readonly");
}
// blink the textbox after returning
if (textBox) {