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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user