1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-09 01:14:11 +01:00

Try grabbing Content-Disposition from a HEAD request for the save link completion list. Localify descriptions.

This commit is contained in:
Kris Maglione
2011-10-05 03:52:02 -04:00
parent 59bf923305
commit 5aa365b7a9
4 changed files with 50 additions and 10 deletions

View File

@@ -323,7 +323,8 @@ var CommandMode = Class("CommandMode", {
open: function CM_open(command) {
dactyl.assert(isinstance(this.mode, modes.COMMAND_LINE),
/*L*/"Not opening command line in non-command-line mode.");
/*L*/"Not opening command line in non-command-line mode.",
false);
this.messageCount = commandline.messageCount;
modes.push(this.mode, this.extendedMode, this.closure);
@@ -1201,7 +1202,8 @@ var CommandLine = Module("commandline", {
let value = this.editor.selection.focusNode.textContent;
this.saveInput();
this.itemList.updateContext(context);
if (this.itemList.visible)
this.itemList.updateContext(context);
if (this.waiting && this.waiting[0] == context)
this.select(this.waiting);