diff --git a/common/content/commandline.js b/common/content/commandline.js index 80bf8ace..9f6e4c9d 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -1139,7 +1139,6 @@ var CommandLine = Module("commandline", { if (!this.session.active) return; - this.context.updateAsync = true; this.reset(show, tabPressed); this.wildIndex = 0; this._caret = this.caret; @@ -1179,6 +1178,7 @@ var CommandLine = Module("commandline", { if (show) { this.itemList.update(); + this.context.updateAsync = true; if (this.haveType("list")) this.itemList.visible = true; this.selected = null; diff --git a/common/modules/messages.jsm b/common/modules/messages.jsm index 14e82f78..a3267f2a 100644 --- a/common/modules/messages.jsm +++ b/common/modules/messages.jsm @@ -89,6 +89,12 @@ var Messages = Module("messages", { return arguments.length > 2 ? default_ : value; }, + /** + * Exports known localizable strings to a properties file. + * + * @param {string|nsIFile} {file} The file to which to export + * the strings. + */ export: function export_(file) { let { Buffer, commands, hints, io, mappings, modes, options, sanitizer } = overlay.activeModules; file = io.File(file);