mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-15 20:15:46 +01:00
Fix some options.jsm message bugs.
This commit is contained in:
@@ -12,7 +12,7 @@ Components.utils.import("resource://dactyl/bootstrap.jsm");
|
||||
defineModule("options", {
|
||||
exports: ["Option", "Options", "ValueError", "options"],
|
||||
require: ["messages", "storage"],
|
||||
use: ["commands", "completion", "prefs", "services", "styles", "template", "util"]
|
||||
use: ["commands", "completion", "config", "prefs", "services", "styles", "template", "util"]
|
||||
}, this);
|
||||
|
||||
/** @scope modules */
|
||||
@@ -1017,7 +1017,7 @@ var Options = Module("options", {
|
||||
}
|
||||
|
||||
if (name == "all" && reset)
|
||||
modules.commandline.input(_("pref.prompt.resetAll", config.host),
|
||||
modules.commandline.input(_("pref.prompt.resetAll", config.host) + " ",
|
||||
function (resp) {
|
||||
if (resp == "yes")
|
||||
for (let pref in values(prefs.getNames()))
|
||||
|
||||
Reference in New Issue
Block a user