mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
Fix "help cmd" and "cmd refresh" in the Developer Toolbar
https://github.com/MoonchildProductions/moebius/pull/348
This commit is contained in:
parent
e7a9064f98
commit
fadd7deef2
3 changed files with 9 additions and 8 deletions
|
|
@ -137,8 +137,6 @@ exports.items = [
|
|||
return !prefBranch.prefHasUserValue(PREF_DIR);
|
||||
},
|
||||
exec: function(args, context) {
|
||||
gcli.load();
|
||||
|
||||
let dirName = prefBranch.getComplexValue(PREF_DIR,
|
||||
Ci.nsISupportsString).data.trim();
|
||||
return l10n.lookupFormat("cmdStatus3", [ dirName ]);
|
||||
|
|
@ -170,8 +168,6 @@ exports.items = [
|
|||
supportsString.data = args.directory;
|
||||
prefBranch.setComplexValue(PREF_DIR, Ci.nsISupportsString, supportsString);
|
||||
|
||||
gcli.load();
|
||||
|
||||
return l10n.lookupFormat("cmdStatus3", [ args.directory ]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue